diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-07-28 16:42:12 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-07-28 16:42:12 +0100 |
commit | fb4a420c9b50bbf5ae9ae02141d4eb2857aaa561 (patch) | |
tree | 1ef3b3da5cb628f6e7a7505d0659aff5467a8146 /tools/tests/regression/scripts/check_python_syntax.sh | |
parent | 0a8f3082f61c46bd1b48b2d8261364bf97f255f1 (diff) | |
download | xen-fb4a420c9b50bbf5ae9ae02141d4eb2857aaa561.tar.gz xen-fb4a420c9b50bbf5ae9ae02141d4eb2857aaa561.tar.bz2 xen-fb4a420c9b50bbf5ae9ae02141d4eb2857aaa561.zip |
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.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'tools/tests/regression/scripts/check_python_syntax.sh')
0 files changed, 0 insertions, 0 deletions