On 29/05/2019 06:40, Gerd Hoffmann wrote:
> From: Marc-André Lureau <[email protected]>
> 
> Add base classes that are common to vhost-user-gpu-pci and
> vhost-user-vga.
> 
> Signed-off-by: Marc-André Lureau <[email protected]>
> Message-id: [email protected]
> Signed-off-by: Gerd Hoffmann <[email protected]>
> ---
>  hw/display/virtio-vga.h     |  32 +++++++++
>  hw/display/virtio-gpu-pci.c |  52 +++++++++-----
>  hw/display/virtio-vga.c     | 135 ++++++++++++++++++------------------
>  MAINTAINERS                 |   2 +-
>  4 files changed, 137 insertions(+), 84 deletions(-)
>  create mode 100644 hw/display/virtio-vga.h
> 

This patch breaks something in the migration (no need of an OS, tested during 
SLOF sequence).

Tested between v4.0.0 and master.

v4.0.0: ppc64-softmmu/qemu-system-ppc64 -machine pseries-4.0 \
                                        -device virtio-gpu-pci \
                                        -serial mon:stdio -incoming tcp:0:4444

master: ppc64-softmmu/qemu-system-ppc64 -machine pseries-4.0 \
                                        -device virtio-gpu-pci \
                                        -serial mon:stdio


master: (qemu) migrate tcp:localhost:4444

v4.0.0:

  qemu-system-ppc64: get_pci_config_device: Bad config data: i=0x34 read: 98 
device: 84 cmask: ff wmask: 0 w1cmask:0
  qemu-system-ppc64: Failed to load PCIDevice:config
  qemu-system-ppc64: Failed to load virtio-gpu:virtio
  qemu-system-ppc64: error while loading state for instance 0x0 of device 
'pci@800000020000000:02.0/virtio-gpu'
  qemu-system-ppc64: load of migration failed: Invalid argument

Is this something known?

Thanks,
Laurent


Reply via email to