diff options
| author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-06 10:12:34 +0100 |
|---|---|---|
| committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-06 10:12:34 +0100 |
| commit | e080ffba8d9368b57e4b9a882f7c9729efe9f9db (patch) | |
| tree | 86491b80cb7b06fe7cc76c90ee0587d96d313b21 /tools/ioemu/hw/usb-hid.c | |
| parent | 883ff6165736e4ac0511245fd76f1645d10bdde4 (diff) | |
| download | xen-e080ffba8d9368b57e4b9a882f7c9729efe9f9db.tar.gz xen-e080ffba8d9368b57e4b9a882f7c9729efe9f9db.tar.bz2 xen-e080ffba8d9368b57e4b9a882f7c9729efe9f9db.zip | |
Fix/cleanup destroyDevice code path in xend.
When calling destroyDevice code path (e.g. xm block-detach dom devid),
allow specifying an integer device id or a device name such as xvdN or
/dev/xvdN. Allowing the /dev/xvdN form is useful when detaching
devices from dom0. Bootloaders may do this to unmount a disk
previously mounted in dom0.
Move examination of device ID format into the DevController,
permitting device controllers to determine a valid device ID instead
of higher level code.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Diffstat (limited to 'tools/ioemu/hw/usb-hid.c')
0 files changed, 0 insertions, 0 deletions
