diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2015-06-04 12:34:39 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2015-06-10 18:15:06 +0200 |
| commit | b6ce27a593ab39ac28baebc3045901925046bebd (patch) | |
| tree | 3cb96868b01b805c9810096ae5f7b060f9665276 /include/hw/virtio/virtio-net.h | |
| parent | cc52ea90f835aa66d431db712b22f8b15bec2e46 (diff) | |
| download | focaccia-qemu-b6ce27a593ab39ac28baebc3045901925046bebd.tar.gz focaccia-qemu-b6ce27a593ab39ac28baebc3045901925046bebd.zip | |
virtio-pci: fill VirtIOPCIRegions early.
Initialize the modern bar and the VirtIOPCIRegion fields early, in realize. Also add a size field to VirtIOPCIRegion and variables for pci bars to VirtIOPCIProxy. This allows virtio-pci subclasses to change things before the device_plugged callback applies them. virtio-vga will use that to arrange regions in a way that virtio-vga is compatible to both stdvga (in vga mode) and virtio-gpu-pci (in pci mode). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio-net.h')
0 files changed, 0 insertions, 0 deletions