OSDN Git Service

vga: set owner for mmio regions
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Jun 2018 06:09:41 +0000 (08:09 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Jun 2018 14:03:40 +0000 (16:03 +0200)
commit93abfc88bd649de1933588bfc7175605331b3ea9
tree8821fb65c40968ba4d1d0f646b7d55877d71c09b
parente409d9a158c77c650651e8118f6c86c8dc76eba6
vga: set owner for mmio regions

This makes sure the regions are properly cleaned when unplugging -device
seconday-vga.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-id: 20180626060941.8326-1-kraxel@redhat.com
hw/display/vga-pci.c
hw/display/vga_int.h
hw/display/virtio-vga.c