qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [patch 18/18] qemu: PCI device, disk and host network h


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [patch 18/18] qemu: PCI device, disk and host network hot-add / hot-remove
Date: Wed, 4 Feb 2009 14:38:43 +0000
User-agent: Mutt/1.4.1i

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.

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]