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

Re: [PATCH v2] libxl: Add suppress-vmdesc to QEMU machine


  • To: Wei Liu <wl@xxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Tue, 3 Nov 2020 11:06:29 +0000
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Jason Andryuk <jandryuk@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Ian Jackson" <iwj@xxxxxxxxxxxxxx>
  • Delivery-date: Tue, 03 Nov 2020 11:06:53 +0000
  • Ironport-sdr: wcxy9Q6E0IN2rhwcNQ2fL8Wpaz2P7mTkdsOeh8ZFwAxxT14BZTN4m3PMeIDjywMYXeFN2RN8/T 0F7u/Duk0fEgagtyudNVfaGmQdzaWt2aWTa9LVtqVClqyGUDjJSWyFEBUZvq5TGSQGENGYgN6a +uj2T/bwTBMlF9epg+VFaDbPGwPsqmHurc6uDB6gT0c8KQrWg5S0vekT5lKYOhTyIt7jhbCijz 1KI7REgaG1Nh2T3WlncHrA3ahyXcTK+j41ytr4ox/NaZKaf73y9PcpQvvRfb2Y2Mn3hk+3BVDB TBs=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Tue, Nov 03, 2020 at 10:48:44AM +0000, Wei Liu wrote:
> On Thu, Oct 29, 2020 at 03:03:32PM -0400, Jason Andryuk wrote:
> > The device model state saved by QMP xen-save-devices-state doesn't
> > include the vmdesc json.  When restoring an HVM, xen-load-devices-state
> > always triggers "Expected vmdescription section, but got 0".  This is
> > not a problem when restore comes from a file.  However, when QEMU runs
> > in a linux stubdom and comes over a console, EOF is not received.  This
> > causes a delay restoring - though it does restore.
> > 
> > Setting suppress-vmdesc skips looking for the vmdesc during restore and
> > avoids the wait.
> > 
> > QEMU 5.2 enables suppress-vmdesc by default for xenfv, but this change
> > sets it manually for xenfv and xen_platform_pci=0 when -machine pc is
> > use.
> > 
> > QEMU commit 9850c6047b8b "migration: Allow to suppress vmdesc
> > submission" added suppress-vmdesc in QEMU 2.3.
> > 
> > Signed-off-by: Jason Andryuk <jandryuk@xxxxxxxxx>

:-(, sorry, I never received that email.

> > ---
> > QEMU 2.3 came out in 2015, so setting suppress-vmdesc unilaterally
> > should be okay...  Is this okay?


> Anthony, what is your opinion on this?

That it's fine, and I actually asked for the libxl patch. For reference,
QEMU 2.3 is in qemu-xen-4.7.

So,
Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks,

-- 
Anthony PERARD



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.