Home
last modified time | relevance | path

Searched hist:a4ee4c8baa37154f42b4dc6a13fee79268d15238 (Results 1 – 5 of 5) sorted by relevance

/qemu/hw/virtio/
H A Dvirtio-crypto-pci.ca4ee4c8baa37154f42b4dc6a13fee79268d15238 Wed Dec 05 19:57:03 UTC 2018 Eduardo Habkost <ehabkost@redhat.com> virtio: Helper for registering virtio device types

Introduce a helper for registering different flavours of virtio
devices. Convert code to use the helper, but keep only the
existing generic types. Transitional and non-transitional device
types will be added by another patch.

Acked-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
H A Dvirtio-pci.c683c1d89efd1eeb111c129a9a91f629b94d90d45 Tue Jun 25 23:23:33 UTC 2019 Marc-André Lureau <marcandre.lureau@redhat.com> virtio-pci: fix missing device properties

Since commit a4ee4c8baa37154 ("virtio: Helper for registering virtio
device types"), virtio-gpu-pci, virtio-vga, and virtio-crypto-pci lost
some properties: "ioeventfd" and "vectors". This may cause various
issues, such as failing migration or invalid properties.

Since those VirtioPCI devices do not have a base name, their class are
initialized with virtio_pci_generic_base_class_init(). However, if the
VirtioPCIDeviceTypeInfo provided a class_init which sets dc->props,
the properties were overwritten by virtio_pci_generic_class_init().

Instead, introduce an intermediary base-type to register the generic
properties.

Fixes: a4ee4c8baa37154f42b4dc6a13fee79268d15238
Cc: qemu-stable@nongnu.org
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190625232333.30752-1-marcandre.lureau@redhat.com>
a4ee4c8baa37154f42b4dc6a13fee79268d15238 Wed Dec 05 19:57:03 UTC 2018 Eduardo Habkost <ehabkost@redhat.com> virtio: Helper for registering virtio device types

Introduce a helper for registering different flavours of virtio
devices. Convert code to use the helper, but keep only the
existing generic types. Transitional and non-transitional device
types will be added by another patch.

Acked-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
/qemu/hw/display/
H A Dvirtio-gpu-pci.ca4ee4c8baa37154f42b4dc6a13fee79268d15238 Wed Dec 05 19:57:03 UTC 2018 Eduardo Habkost <ehabkost@redhat.com> virtio: Helper for registering virtio device types

Introduce a helper for registering different flavours of virtio
devices. Convert code to use the helper, but keep only the
existing generic types. Transitional and non-transitional device
types will be added by another patch.

Acked-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
H A Dvirtio-vga.ca4ee4c8baa37154f42b4dc6a13fee79268d15238 Wed Dec 05 19:57:03 UTC 2018 Eduardo Habkost <ehabkost@redhat.com> virtio: Helper for registering virtio device types

Introduce a helper for registering different flavours of virtio
devices. Convert code to use the helper, but keep only the
existing generic types. Transitional and non-transitional device
types will be added by another patch.

Acked-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
/qemu/include/hw/virtio/
H A Dvirtio-pci.ha4ee4c8baa37154f42b4dc6a13fee79268d15238 Wed Dec 05 19:57:03 UTC 2018 Eduardo Habkost <ehabkost@redhat.com> virtio: Helper for registering virtio device types

Introduce a helper for registering different flavours of virtio
devices. Convert code to use the helper, but keep only the
existing generic types. Transitional and non-transitional device
types will be added by another patch.

Acked-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>