[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 28/36] vl: allow -incoming defer with -preconfig
From: |
Igor Mammedov |
Subject: |
Re: [PATCH 28/36] vl: allow -incoming defer with -preconfig |
Date: |
Fri, 27 Nov 2020 11:51:15 +0100 |
On Mon, 23 Nov 2020 09:14:27 -0500
Paolo Bonzini <pbonzini@redhat.com> wrote:
> Now that there is no RUN_STATE_PRECONFIG anymore that can conflict with
> RUN_STATE_INMIGRATE, we can allow -incoming defer with -preconfig.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
> ---
> softmmu/vl.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/softmmu/vl.c b/softmmu/vl.c
> index aa11fc4871..0ba1fcdb3d 100644
> --- a/softmmu/vl.c
> +++ b/softmmu/vl.c
> @@ -3200,9 +3200,8 @@ static void qemu_validate_options(void)
> "mutually exclusive");
> exit(EXIT_FAILURE);
> }
> - if (incoming && preconfig_requested) {
> - error_report("'preconfig' and 'incoming' options are "
> - "mutually exclusive");
> + if (incoming && preconfig_requested && strcmp(incoming, "defer") != 0) {
> + error_report("'preconfig' supports '-incoming defer' only");
> exit(EXIT_FAILURE);
> }
>
- [PATCH 20/36] vl: separate qemu_resolve_machine_memdev, (continued)
[PATCH 21/36] vl: initialize displays before preconfig loop, Paolo Bonzini, 2020/11/23
[PATCH 28/36] vl: allow -incoming defer with -preconfig, Paolo Bonzini, 2020/11/23
- Re: [PATCH 28/36] vl: allow -incoming defer with -preconfig,
Igor Mammedov <=
[PATCH 30/36] vl: extract machine done notifiers, Paolo Bonzini, 2020/11/23
[PATCH 31/36] vl: extract softmmu/rtc.c, Paolo Bonzini, 2020/11/23
[PATCH 19/36] vl: separate qemu_apply_machine_options, Paolo Bonzini, 2020/11/23
[PATCH 29/36] vl: extract softmmu/datadir.c, Paolo Bonzini, 2020/11/23
[PATCH 24/36] vl: start VM via qmp_cont, Paolo Bonzini, 2020/11/23
[PATCH 36/36] vl: move all generic initialization out of vl.c, Paolo Bonzini, 2020/11/23