Re: [PATCH V3 06/22] vl: add helper to request re-exec

2021-05-14 Thread Daniel P . Berrangé
On Thu, May 13, 2021 at 04:19:22PM -0400, Steven Sistare wrote: > On 5/7/2021 10:31 AM, Eric Blake wrote: > > On 5/7/21 7:25 AM, Steve Sistare wrote: > >> Add a qemu_exec_requested() hook that causes the main loop to exit and > >> re-exec qemu using the same initial arguments. If

Re: [PATCH V3 06/22] vl: add helper to request re-exec

2021-05-13 Thread Steven Sistare
On 5/12/2021 12:27 PM, Stefan Hajnoczi wrote: > On Fri, May 07, 2021 at 05:25:04AM -0700, Steve Sistare wrote: >> @@ -660,6 +673,16 @@ void qemu_system_debug_request(void) >> qemu_notify_event(); >> } >> >> +static void qemu_exec(void) >> +{ >> +const char *helper =

Re: [PATCH V3 06/22] vl: add helper to request re-exec

2021-05-13 Thread Steven Sistare
On 5/7/2021 10:31 AM, Eric Blake wrote: > On 5/7/21 7:25 AM, Steve Sistare wrote: >> Add a qemu_exec_requested() hook that causes the main loop to exit and >> re-exec qemu using the same initial arguments. If /usr/bin/qemu-exec >> exists, exec that instead. This is an optional site-specific

Re: [PATCH V3 06/22] vl: add helper to request re-exec

2021-05-12 Thread Stefan Hajnoczi
On Fri, May 07, 2021 at 05:25:04AM -0700, Steve Sistare wrote: > @@ -660,6 +673,16 @@ void qemu_system_debug_request(void) > qemu_notify_event(); > } > > +static void qemu_exec(void) > +{ > +const char *helper = "/usr/bin/qemu-exec"; The network up script is

Re: [PATCH V3 06/22] vl: add helper to request re-exec

2021-05-07 Thread Eric Blake
On 5/7/21 7:25 AM, Steve Sistare wrote: > Add a qemu_exec_requested() hook that causes the main loop to exit and > re-exec qemu using the same initial arguments. If /usr/bin/qemu-exec > exists, exec that instead. This is an optional site-specific trampoline > that may alter the environment

[PATCH V3 06/22] vl: add helper to request re-exec

2021-05-07 Thread Steve Sistare
Add a qemu_exec_requested() hook that causes the main loop to exit and re-exec qemu using the same initial arguments. If /usr/bin/qemu-exec exists, exec that instead. This is an optional site-specific trampoline that may alter the environment before exec'ing the qemu binary. Signed-off-by: