[libvirt] [PATCH 02/12] Introduce new domain create API virDomainCreateWithParams

Marc Hartmayer mhartmay at linux.ibm.com
Thu Jun 7 11:39:46 UTC 2018


On Wed, Jun 06, 2018 at 02:53 PM +0200, Pino Toscano <ptoscano at redhat.com> wrote:
> On Wednesday, 16 May 2018 18:31:26 CEST Daniel P. Berrangé wrote:
>> On Wed, May 16, 2018 at 06:21:40PM +0200, Christian Borntraeger wrote:
>> > 
>> > 
>> > On 05/16/2018 05:35 PM, Daniel P. Berrangé wrote:

[…snip…]

>> I could suggest a general arg 'virsh start --edit $GUESTNAME' though,
>> which takes the current persistent XML, launches it in an editor,
>> allowing the user to change the boot order and then starts the guest
>> from this temporary editted XML using virDomainCreateXML. This is a
>> conceptual fit with the 'virsh edit $GUESTNAME' command we already
>> have
>
> Another option could be instead to implement this "temporarly change &
> start" to another tool, that already does XML munging: virt-xml.
> In that context, adding options to edit the various bits makes sense,
> so only the "edit -> start -> revert" thing would be needed there.
>
> WDYT?

Wouldn’t be a (new) tool 'virt-start' better for that since virt-xml
does only the XML manipulation?

Thanks for thinking about it.

> -- 
> Pino Toscano
-- 
Beste Grüße / Kind regards
   Marc Hartmayer

IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294





More information about the libvir-list mailing list