[libvirt] [PATCH v2 16/17] qemu_command: introduce enum of secondary models for video device

Ján Tomko jtomko at redhat.com
Wed Oct 12 15:18:50 UTC 2016


On Wed, Oct 12, 2016 at 02:12:57PM +0200, Pavel Hrdina wrote:
>There are two video devices with models without VGA compatibility mode.
>They are primary used as secondary video devices, but in some cases it
>is required to use them also as primary video devices.
>
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>---
>
>New in v2, it was removed from next patch.
>
> src/qemu/qemu_command.c | 36 +++++++++++++++++++++++++-----------
> 1 file changed, 25 insertions(+), 11 deletions(-)
>
>diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
>index e0c442a..8a82fb8 100644
>--- a/src/qemu/qemu_command.c
>+++ b/src/qemu/qemu_command.c
>@@ -114,6 +114,18 @@ VIR_ENUM_IMPL(qemuDeviceVideo, VIR_DOMAIN_VIDEO_TYPE_LAST,
>               "", /* don't support parallels */
>               "virtio-vga");
>
>+VIR_ENUM_DECL(qemuDeviceVideoSecondary)
>+
>+VIR_ENUM_IMPL(qemuDeviceVideoSecondary, VIR_DOMAIN_VIDEO_TYPE_LAST,
>+              "", /* no secondary device for VGA*/
>+              "", /* no secondary device for cirrus-vga*/
>+              "", /* no secondary device for vmware-svga*/

Please add some spaces in front of the closing */

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161012/d992da07/attachment-0001.sig>


More information about the libvir-list mailing list