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

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


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 aa jp fujitsu com>

Masayuki Sunou.

In message <200705111842 IJH95853 739E2KNG aa jp fujitsu com>
   "Re: [Libvir] [RFC] Device attach/detach on virsh"
   "Masayuki Sunou <fj1826dm aa jp fujitsu com>" 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

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