Skip to content
Snippets Groups Projects
Select Git revision
  • cb03355a26a09bae91a8e5dea51538c9cccc838b
  • master default
  • virtio-camera
  • venus
  • venus-rebased
  • virgl-blob-fixes
  • staging
  • stable-6.1
  • stable-6.0
  • stable-6.0-staging
  • stable-5.0
  • stable-4.2
  • stable-4.1
  • stable-4.0
  • stable-3.1
  • stable-3.0
  • stable-2.12
  • stable-2.11
  • stable-2.10
  • stable-2.9
  • stable-2.8
  • v7.1.0-rc2
  • v7.1.0-rc1
  • v7.1.0-rc0
  • v7.0.0
  • v7.0.0-rc4
  • v7.0.0-rc3
  • v7.0.0-rc2
  • v7.0.0-rc1
  • v7.0.0-rc0
  • v6.1.1
  • v6.2.0
  • v6.2.0-rc4
  • v6.2.0-rc3
  • v6.2.0-rc2
  • v6.2.0-rc1
  • v6.2.0-rc0
  • v6.0.1
  • v6.1.0
  • v6.1.0-rc4
  • v6.1.0-rc3
41 results

qemu

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Avi Kivity authored and Anthony Liguori committed
    QEMUFileBuffered stops writing when the underlying QEMUFile is not ready,
    and tells its producer so.  However, when the underlying QEMUFile becomes
    ready, it neglects to pass that information along, resulting in stoppage
    of all data until the next tick (a tenths of a second).
    
    Usually this doesn't matter, because most QEMUFiles used with QEMUFileBuffered
    are almost always ready, but in the case of exec: migration this is not true,
    due to the small pipe buffers used to connect to the target process.  The
    result is very slow migration.
    
    Fix by detecting the readiness notification and propagating it.  The detection
    is a little ugly since QEMUFile overloads put_buffer() to send it, but that's
    the suject for a different patch.
    
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
    (cherry picked from commit 5e77aaa0)
    cb03355a
    History
    Name Last commit Last update