[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] a question with gplpv



Hello everyone.

Thanks for reading my questions. I deployed a pvhvm guest(windows xp with gplpv) on xen 4.1.2 and debug corresponding  qemu-dm's process with gdb, I found that the guest's IO seems to go through qemu-dm.In addition, I try to run Fedora24 livecd with the pvhvm, the guest's IO seems to go through qemu too. 
In my opinion that the pvhvm guest's IO should bypass the qemu. Has anyone can tell me  that how the pvhvm works?

Thanks,
Lu
----------------------------------------------------------------------detail------------------------------------------------------------------
My host:
os: CentOS 7
xen version: 4.1.2

Guest:
os: windows xp
pvdriver: gplpv 

gdb bt
Breakpoint 4, raw_pwrite (bs=0x1c46200, offset=84626944, buf=0x7fa2ffb6ea00 <Address 0x7fa2ffb6ea00 out of bounds>, count=1536)
    at block-raw-posix.c:367
367 {
(gdb) bt
#0 raw_pwrite (bs=0x1c46200, offset=84626944, buf=0x7fa2ffb6ea00 <Address 0x7fa2ffb6ea00 out of bounds>, count=1536)
    at block-raw-posix.c:367
#1 0x0000000000481183 in bdrv_write (bs=0x1c46200, sector_num=<optimized out>, buf=0x7fa2ffb6ea00 <Address 0x7fa2ffb6ea00 out of bounds>,
    nb_sectors=3) at block.c:637
#2 0x00000000004756a4 in ioreq_runio_qemu_sync (ioreq=0x1cdfc30) at /home/luke/xen/tools/ioemu-dir/hw/xen_disk.c:341
#3 blk_handle_requests (blkdev=0x1c45280) at /home/luke/xen/tools/ioemu-dir/hw/xen_disk.c:551
#4 blk_bh (opaque=0x1c45280) at /home/luke/xen/tools/ioemu-dir/hw/xen_disk.c:566
#5 0x000000000040cf2b in qemu_bh_poll () at /home/luke/xen/tools/ioemu-dir/vl.c:3433
#6 0x000000000040d589 in main_loop_wait (timeout=<optimized out>, timeout@entry=10000) at /home/luke/xen/tools/ioemu-dir/vl.c:3834
#7 0x0000000000477172 in main_loop () at helper2.c:580
#8 0x0000000000408415 in main (argc=24, argv=0x7ffc1f885e58, envp=<optimized out>) at /home/luke/xen/tools/ioemu-dir/vl.c:6161
(gdb) c
Continuing.
Breakpoint 3, raw_pread (bs=0x1c46200, offset=2587717120, buf=0x7fa2ffb67000 <Address 0x7fa2ffb67000 out of bounds>, count=4096)
    at block-raw-posix.c:295
295     {
(gdb) bt
#0  raw_pread (bs=0x1c46200, offset=2587717120, buf=0x7fa2ffb67000 <Address 0x7fa2ffb67000 out of bounds>, count=4096)
    at block-raw-posix.c:295
#1  0x0000000000480f21 in bdrv_read (bs=0x1c46200, sector_num=5054135, buf=0x7fa2ffb67000 <Address 0x7fa2ffb67000 out of bounds>,
    nb_sectors=8) at block.c:601
#2  0x000000000047578c in ioreq_runio_qemu_sync (ioreq=0x1cdfe80) at /home/luke/xen/tools/ioemu-dir/hw/xen_disk.c:322
#3  blk_handle_requests (blkdev=0x1c45280) at /home/luke/xen/tools/ioemu-dir/hw/xen_disk.c:551
#4  blk_bh (opaque=0x1c45280) at /home/luke/xen/tools/ioemu-dir/hw/xen_disk.c:566
#5  0x000000000040cf2b in qemu_bh_poll () at /home/luke/xen/tools/ioemu-dir/vl.c:3433
#6  0x000000000040d589 in main_loop_wait (timeout=<optimized out>, timeout@entry=10000) at /home/luke/xen/tools/ioemu-dir/vl.c:3834
#7  0x0000000000477172 in main_loop () at helper2.c:580
#8  0x0000000000408415 in main (argc=24, argv=0x7ffc1f885e58, envp=<optimized out>) at /home/luke/xen/tools/ioemu-dir/vl.c:6161


--
-------------------------------------------------------------
Lu Fengqi
email: curiouslfq@xxxxxxxxx
Tel:+86-13022567230

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.