Skip to contentSkip to conversation

blktap for HVM guests without PV-on-HVM drivers

DISCUSSION Muli Ben-Yehuda 2 participants 4 messages Jan 28, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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_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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
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

#3 lore raw
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