blktap for HVM guests without PV-on-HVM drivers
Hi,
Is blktap interposing supported for HVM guests not using PV-on-HVM drivers? When using tap:aio with an HVM domain, we see that td_open and td_close are getting called, but none of td_queue_read, td_queue_write and td_submit. Is this supposed to work?
Cheers,
Muli
Currently qemu cannot access the PV backend driver data path. So PV backends are only accessible using PV-on-HVM drivers within the HVM guest.
-- Keir
Quoted 15 lines · Muli Ben-Yehuda
Hi,
Is blktap interposing supported for HVM guests not using PV-on-HVM drivers? When using tap:aio with an HVM domain, we see that
td_openandtd_closeare getting called, but none oftd_queue_read,td_queue_writeandtd_submit. Is this supposed to work?Cheers,
Muli_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 3 lines · Keir Fraser
Currently qemu cannot access the PV backend driver data path. So PV backends are only accessible using PV-on-HVM drivers within the HVM guest.
Thanks, good to know I wasn't missing something obvious. Are there any particular obstacles to fixing it, or is it a simple matter of programming?
Cheers,
Muli
Quoted 9 lines · Muli Ben-Yehuda
Quoted 3 lines · Keir Fraser
Currently qemu cannot access the PV backend driver data path. So PV backends are only accessible using PV-on-HVM drivers within the HVM guest.
Thanks, good to know I wasn't missing something obvious. Are there any particular obstacles to fixing it, or is it a simple matter of programming?
It's a small matter of plumbing. There's currently no local interface to allow dom0 userspace to get at the dom0 backend driver datapath.
Currently the only way to allow booting from a virtual disk that will later be accessed via PV-on-HVM is to give qemu-dm direct access to the underlying virtual-disk image (e.g., qcow or whatever) which obviously has synchronisation issues when block requests start flying in on a completely different data path once PV-on-HVM drivers are installed. So getting things plumbed properly would be very nice indeed!
-- Keir