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

[Xen-devel] [PATCH]xend: pass-through: fix "xm pci-list-assignable-devices' for pv_guest



xc.test_assign_device(dev) can only tell us if dev is assigned to hvm guest;
if a device is assigned to pv guest, xc.test_assign_device() still tells us
the device is not assigned yet, as a result, the device still appears in the
output of "xm pci-list-assignable-devices", and xend would not prevent us from
assigning the device to a new pv or hvm guest.

To judge if a device has been assigned to guest, we have to scan xenstore.  

Thanks,
-- Dexuan

Attachment: fix_xm_pci-list-assignable-devices_for_pv_guest.patch
Description: fix_xm_pci-list-assignable-devices_for_pv_guest.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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