[PATCH] Device attach/detach on virsh (command option version)

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

 



Hi

This patch adds virsh attach-device/detach-device.
This supports a definition of a device by command option(proposal 1).

I examine the following opinions, and "attach-interface" supports only two
common case (bridge, virtual network). 

> Networking is more complicated because there are 8 (!) different ways to
> connected up VMs so far. We could either have huge numbers of args, or
> we could just support the two common cases (bridge, virtual network) and
> say for more complex cases use full XML.


Any comments are welcome!

Signed-off-by: Masayuki Sunou <fj1826dm@xxxxxxxxxxxxxxxxx>

Thanks,
Masayuki Sunou.


In message <200705111842.IJH95853.739E2KNG@xxxxxxxxxxxxxxxxx>
   "Re:  [RFC] Device attach/detach on virsh"
   "Masayuki Sunou <fj1826dm@xxxxxxxxxxxxxxxxx>" wrote:

> Hi
> 
> I understood as follows.
> 
> * There is no problem in a proposal 1 and a proposal 2
> * It is better that the user can choose use of XML and use of command-option
>   by the situation
> 
> Therefore, I want to add both proposal 1 and proposal 2 to virsh.
> There is no problem in this opinion?
> 
> And, I am going to correct about naming.
>  vif --> interface
>  vbd --> disk

Attachment: attach_detach_opt.patch
Description: Binary data


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]