]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Assign device aliases for all devices at startup
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 6 Jan 2010 12:11:26 +0000 (12:11 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 18 Jan 2010 13:55:56 +0000 (13:55 +0000)
commit053307175cf3dd7a687bc444eaff9f8b30ccd031
tree0ca1ec1b219574d11e08933d4c4b444ee37b237e
parenta6e7ba94640185480e951cba69596e33e39153ca
Assign device aliases for all devices at startup

When starting a guest, give every device a unique alias. This will
be used for the 'id' parameter in -device args in later patches.
It can also be used to uniquely identify devices in the monitor

For old QEMU without -device, assign disk names based on QEMU's
historical naming scheme.

* src/qemu/qemu_conf.c: Assign unique device aliases
* src/qemu/qemu_driver.c: Remove obsolete qemudDiskDeviceName
  and use the device alias in eject & blockstats commands
src/qemu/qemu_conf.c
src/qemu/qemu_driver.c