qemu-devel
[Top][All Lists]
Advanced

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

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


From: Marcelo Tosatti
Subject: Re: [Qemu-devel] [patch 2/2] qemu: PCI device, disk and host network hot-add / hot-remove
Date: Sun, 8 Feb 2009 15:28:45 -0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Feb 08, 2009 at 12:08:34PM +0200, Avi Kivity wrote:
> Marcelo Tosatti wrote:
>> Add monitor command to hot-add PCI devices (nic and storage).
>>     Syntax is:
>>     pci_add pci_addr=[[<domain>:]<bus>:]<slot> nic|storage params
>>     It returns the domain, bus and slot for the newly added device on 
>> success
>
> Instead of returning something, how about
>
>  pci_add pci_addr=...,name=blah
>
> and then
>
>  pci_del blah
>
> 'info pci' could also output the name so that it could be associated  
> with the bus address.

Sure that can be done. Like an alias. So you identify <domain,bus,slot>
with a name. I can see it simplifies direct management of hotplug on the
monitor.

Markus, Daniel, any comments on that?





reply via email to

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