eccdcb8 conf: Add target type and model for pl011

Authored and Committed by Andrea Bolognani 6 years ago
32 files changed. 503 lines added. 8 lines removed.
docs/formatdomain.html.in
file modified
+8 -5
docs/schemas/domaincommon.rng
file modified
+2 -0
src/conf/domain_conf.c
file modified
+3 -0
src/conf/domain_conf.h
file modified
+2 -0
src/qemu/qemu_command.c
file modified
+7 -2
src/qemu/qemu_domain.c
file modified
+26 -0
src/qemu/qemu_domain_address.c
file modified
+1 -0
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-console-native.args
file added
+1
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-console-native.xml
file added
+17
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-console-virtio.args
file added
+24
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-console-virtio.xml
file added
+19
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial+console-native.args
file added
+1
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial+console-native.xml
file added
+18
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial-compat.args
file added
+1
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial-compat.xml
file added
+19
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial-invalid-machine.xml
file added
+21
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial-native.args
file added
+23
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial-native.xml
file added
+16
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial-pci.args
file added
+26
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial-pci.xml
file added
+18
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial-usb.args
file added
+27
tests/qemuxml2argvdata/qemuxml2argv-mach-virt-serial-usb.xml
file added
+21
tests/qemuxml2argvtest.c
file modified
+27 -0
tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-default.xml
file modified
+3 -1
tests/qemuxml2xmloutdata/qemuxml2xmlout-mach-virt-console-native.xml
file added
+1
tests/qemuxml2xmloutdata/qemuxml2xmlout-mach-virt-console-virtio.xml
file added
+27
tests/qemuxml2xmloutdata/qemuxml2xmlout-mach-virt-serial+console-native.xml
file added
+1
tests/qemuxml2xmloutdata/qemuxml2xmlout-mach-virt-serial-compat.xml
file added
+31
tests/qemuxml2xmloutdata/qemuxml2xmlout-mach-virt-serial-native.xml
file added
+1
tests/qemuxml2xmloutdata/qemuxml2xmlout-mach-virt-serial-pci.xml
file added
+44
tests/qemuxml2xmloutdata/qemuxml2xmlout-mach-virt-serial-usb.xml
file added
+41
tests/qemuxml2xmltest.c
file modified
+26 -0
    conf: Add target type and model for pl011
    
    We can finally introduce a specific target model for the pl011 device
    used by mach-virt guests, which means isa-serial will no longer show
    up to confuse users.
    
    We make sure migration works in both directions by interpreting the
    isa-serial target type, or the lack of target type, appropriately
    when parsing the guest XML, and skipping the newly-introduced type
    when formatting if for migration. We also verify that pl011 is not
    used for non-mach-virt guests and add a bunch of test cases.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=151292
    
    Signed-off-by: Andrea Bolognani <abologna@redhat.com>
    Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
    
        
file modified
+8 -5
file modified
+3 -0
file modified
+2 -0
file modified
+7 -2
file modified
+26 -0
file modified
+27 -0
file modified
+26 -0