Skip to content
Permalink
Branch: vhost-user-gpu
Commits on Aug 28, 2018
  1. tests: add vhost-user-gpu xml2argv tests

    elmarco committed Jul 12, 2018
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  2. qemu: build vhost-user-gpu video device arguments

    elmarco committed Jul 13, 2018
    Change the model name to "vhost-user-gpu-pci" if running on PCI.
    
    Set the "max_outputs" property.
    
    Associate the device with the "vhost-user" backend.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  3. qemu: build vhost-user-backend for vhost-user-gpu

    elmarco committed Jul 13, 2018
    Pass the vhost-user socket to a chardev, and associate a
    vhost-user-backend with it for each vhost-user-gpu.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  4. qemu: start/stop the vhost-user-gpu external device

    elmarco committed Jul 13, 2018
    Each vhost-user-gpu needs its own helper gpu process.
    Start/stop them, and apply the emulator cgroup controller.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  5. qemu: set default address type on vhost-user video model

    elmarco committed Jul 13, 2018
    It's a virtio device, like virtio-gpu.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  6. qemu: restrict 'virgl=' option to 'virtio' video type

    elmarco committed Jul 12, 2018
    vhost-user doesn't have a virgl option, it's given to the
    vhost-user-gpu helper process instead.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  7. qemu: add vhost-user-gpu helper unit

    elmarco committed Jul 12, 2018
    Similar to the qemu_tpm.c, add a unit with a few functions to
    start/stop and setup the cgroup of the external vhost-user-gpu
    process. See function documentation.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  8. qemu: add qemuSecurityStartVhostUserGPU helper

    elmarco committed Jul 12, 2018
    See function documentation, used in following patch.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  9. qemu: validate vhost-user video model

    elmarco committed Jul 12, 2018
    Check qemu capability, and accept 3d acceleration.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  10. qemu: vhost-user is valid as non-primary video device

    elmarco committed Jul 12, 2018
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  11. qemu: check that qemu is vhost-user-vga capable

    elmarco committed Jul 12, 2018
    To support VGA, we need vhost-user-vga device, for "vhost-user" model.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  12. qemu: fill the vhost-user video type capability

    elmarco committed Jul 12, 2018
    If vhost-user-gpu is supported, vhost-user video type is.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  13. domain: add "vhost-user" video type

    elmarco committed Jul 12, 2018
    Learn to accept "vhost-user" model type:
      <video>
        <model type='vhost-user'/>
      </video>
    
    (fill the required enum and switches to compile successfully)
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  14. qemu: add vhost-user-gpu capabilities checks

    elmarco committed Jul 12, 2018
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  15. qemu: add memfd memory backing

    elmarco committed Aug 28, 2018
    Add a new memoryBacking source type "memfd", support by QEMU (when the
    capability is available).
    
    Sealing is enabled by default in qemu, and hugepage is easier to
    setup, which makes it often a better choice than memory-backend-file.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  16. qemu: add memory-backend-memfd capability check

    elmarco committed Jul 12, 2018
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  17. qemu: Add more defaults for RISC-V virt guests

    andreabolognani committed Aug 28, 2018
    We would have used virtio for networking anyway, but it's
    better to be explicit; for graphics, none of the existing
    models work right now but virtio is the only one which
    has a non-PCI variant, so it's as good a default as any
    
    Spotted-by: Ján Tomko <jtomko@redhat.com>
    Signed-off-by: Andrea Bolognani <abologna@redhat.com>
    Reviewed-by: Ján Tomko <jtomko@redhat.com>
  18. qemu: Introduce 16550A serial console model

    andreabolognani committed Aug 27, 2018
    None of the existing models is suitable for use with
    RISC-V virt guests, and we don't want information about
    the serial console to be missing from the XML.
    
    The name is based on comments in qemu/hw/riscv/virt.c:
    
      RISC-V machine with 16550a UART and VirtIO MMIO
    
    and in qemu/hw/char/serial.c:
    
      QEMU 16550A UART emulation
    
    along with the output of dmesg in the guest:
    
      Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
      10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13,
        base_baud= 230400) is a 16550A
    
    Signed-off-by: Andrea Bolognani <abologna@redhat.com>
    Reviewed-by: Ján Tomko <jtomko@redhat.com>
  19. qemu: Don't use legacy USB for RISC-V guests

    andreabolognani committed Aug 24, 2018
    The architecture is new enough that we don't need to
    concern ourselves with backwards compatibility in any
    capacity.
    
    Signed-off-by: Andrea Bolognani <abologna@redhat.com>
    Reviewed-by: Ján Tomko <jtomko@redhat.com>
  20. qemu: no USB by default on RISC-V machines

    lkundrak authored and andreabolognani committed Jun 14, 2018
    Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
    Reviewed-by: Andrea Bolognani <abologna@redhat.com>
  21. docs: api_extension: Update paths in the examples

    pipo committed Aug 23, 2018
    Signed-off-by: Peter Krempa <pkrempa@redhat.com>
    Reviewed-by: Ján Tomko <jtomko@redhat.com>
  22. tests: qemumonitorjson: Add test case for 'blockdev-mirror'

    pipo committed Aug 16, 2018
    Add the generated testcase to test the generated command against the
    QMP schema.
    
    Signed-off-by: Peter Krempa <pkrempa@redhat.com>
    Reviewed-by: Ján Tomko <jtomko@redhat.com>
  23. tests: qemumonitorjson: Change values which would be omitted

    pipo committed Aug 16, 2018
    Many of the parameters are omitted for NULL/0 situations. Change the
    values for these cases so all the arguments are schema-checked.
    
    Signed-off-by: Peter Krempa <pkrempa@redhat.com>
    Reviewed-by: Ján Tomko <jtomko@redhat.com>
  24. tests: qemumonitorjson: Add test for 'block-stream' command

    pipo committed Aug 15, 2018
    Test the generated command against the schema.
    
    Signed-off-by: Peter Krempa <pkrempa@redhat.com>
    Reviewed-by: Ján Tomko <jtomko@redhat.com>
  25. qemuargv2xmltest: Fix caps loading in VPATH build

    jirkade committed Aug 28, 2018
    Broken by v4.7.0-rc1-9-g6700062fb0.
    
    Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
  26. util: json: Allow converting a virTristate(Bool|Switch) into JSON

    pipo committed Aug 16, 2018
    Add a new modifier letter for virJSONValueObjectAddVArgs which will add
    a boolean value with our tristate semantics. The value is omitted when
    the _ABSENT value is used.
    
    Signed-off-by: Peter Krempa <pkrempa@redhat.com>
    Reviewed-by: Erik Skultety <eskultet@redhat.com>
  27. xml: report the filename (if any) when parsing files

    berrange committed Aug 16, 2018
    A generic "failed to parse xml document" message without telling us
    which XML file failed is quite unhelpful.
    
    Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  28. cpu: split x86 map data into separate files

    berrange committed Jul 30, 2018
    Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  29. cpu: split PPC64 map data into separate files

    berrange committed Jul 30, 2018
    Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  30. cpu: move the CPU map data files into a src/cpu_map directory

    berrange committed Aug 16, 2018
    In preparation for splitting up the CPU map data file, move it into a
    dedicated directory of its own.
    
    Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  31. cpu: simplify failure cleanup paths

    berrange committed Aug 16, 2018
    Get rid of the separate 'error:' label, so all code paths jump straight
    to the 'cleanup:' label.
    
    Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  32. cpu: push more parsing logic into common code

    berrange committed Jul 30, 2018
    The x86 and ppc impls both duplicate some logic when parsing CPU
    features. Change the callback signature so that this duplication can be
    pushed up a level to common code.
    
    Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  33. cpu: fix cleanup when signature parsing fails

    berrange committed Aug 16, 2018
    Two pieces of code accidentally jumped to the wrong label when they
    failed causing incorrect cleanup, returning a partially initialized
    CPU model struct.
    
    Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  34. cpu: allow include files for CPU definition

    berrange committed Jul 30, 2018
    Allow for syntax
    
        <include filename="subdir/fooo.xml"/>
    
    to reference other files in the CPU database directory
    
    Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
  35. conf: report enum errors in virDomainInputDefValidate

    janotomko committed Aug 21, 2018
    Commit deb057f added a switch without a default case.
    Add it and call virReportEnumRangeError for _LAST too.
    
    Signed-off-by: Ján Tomko <jtomko@redhat.com>
    Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Older
You can’t perform that action at this time.