* What is the option 'e' used for in 'xl create' command
@ 2018-03-19 5:14 Dongli Zhang
2018-03-19 16:33 ` Stefano Stabellini
0 siblings, 1 reply; 2+ messages in thread
From: Dongli Zhang @ 2018-03-19 5:14 UTC (permalink / raw)
To: xen-devel; +Cc: sstabellini
Hi,
There is an 'e' option when running the following xl command:
- xl create
- xl restore
- xl migrate
- xl remus
The 'e' option is used to "Do not wait in the background (on <host>) for the
death of the domain". This option dates back to Dec 2009.
Would you please help me understand the objective of the below patch introduced
in Dec 2009?
https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=de7c9106c1a22c0fd759cefcecf2c428e5a76a00
Thank you very much for your help!
Dongli Zhang
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: What is the option 'e' used for in 'xl create' command
2018-03-19 5:14 What is the option 'e' used for in 'xl create' command Dongli Zhang
@ 2018-03-19 16:33 ` Stefano Stabellini
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Stabellini @ 2018-03-19 16:33 UTC (permalink / raw)
To: Dongli Zhang; +Cc: xen-devel, sstabellini
On Mon, 19 Mar 2018, Dongli Zhang wrote:
> Hi,
>
> There is an 'e' option when running the following xl command:
>
> - xl create
> - xl restore
> - xl migrate
> - xl remus
>
> The 'e' option is used to "Do not wait in the background (on <host>) for the
> death of the domain". This option dates back to Dec 2009.
>
> Would you please help me understand the objective of the below patch introduced
> in Dec 2009?
>
> https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=de7c9106c1a22c0fd759cefcecf2c428e5a76a00
>
> Thank you very much for your help!
Hi Dongli,
The idea back then was that xl is a command line tool which doesn't rely
on any daemons running except for xenstored. However, there were a
couple of events that needed to be handled at runtime, naming domain
destruction and cdrom insert/eject for HVM guests. For that reason, xl
started forking and executing an instance of itself in the background,
just waiting to handle these events.
The "-e" command line option was meant to prevent xl from running any
background processes. This way, xl would just terminate after executing
the requested command. Of course, in that case one would have to
manually destroy the domains and cdrom insert/eject might not work, but
everything else should work as usual.
Cheers,
Stefano
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-19 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-19 5:14 What is the option 'e' used for in 'xl create' command Dongli Zhang
2018-03-19 16:33 ` Stefano Stabellini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).