On Wed, Feb 04, 2009 at 11:33:21AM -0200, Marcelo Tosatti wrote:
Add monitor command to hot-add PCI devices (nic and storage).
Syntax is:
pci_add pcibus nic|storage params
It returns the bus slot and function for the newly added device on success.
It is possible to attach a disk to a device after PCI initialization via
the drive_add command. If so, a manual scan of the SCSI bus on the guest
is necessary.
Save QEMUMachine necessary for drive_init.
Add monitor command to hot-remove devices, remove device data on _EJ0 notification.
Does this allow for hot-add of host TAP devices passing a open
file descriptor across with SCM_RIGHTS (man 7 unix) on the UNIX
domain socket connection to the monitor ? This ability is
critical for libvirt, because we need to be able to allocate the
TAP devices ourselves & do various configuration tasks before giving
them to QEMU - the external script capability isn't suitable /flexible
enough for this.