Skip to content
Snippets Groups Projects
  1. May 17, 2017
    • Eduardo Habkost's avatar
      sysbus-ohci: Remove user_creatable flag · 8f04d26a
      Eduardo Habkost authored
      
      sysbus-ohci needs to be mapped and wired by device or board code,
      and won't work with -device. Remove the user_creatable flag from
      the device class.
      
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-19-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      8f04d26a
    • Eduardo Habkost's avatar
      hpet: Remove user_creatable flag · cae9d4cd
      Eduardo Habkost authored
      
      hpet needs to be mapped and wired by the board code and won't
      work with -device. Remove the user_creatable flag from the device
      class.
      
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-18-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      cae9d4cd
    • Eduardo Habkost's avatar
      generic-sdhci: Remove user_creatable flag · bdbae0ef
      Eduardo Habkost authored
      
      generic-sdhci needs to be wired by other devices' code, so it
      can't be used with -device. Remove the user_creatable flag from
      the device class.
      
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
      Cc: David Gibson <david@gibson.dropbear.id.au>
      Cc: Alexander Graf <agraf@suse.de>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: Prasad J Pandit <pjp@fedoraproject.org>
      Cc: Alistair Francis <alistair.francis@xilinx.com>
      Reviewed-by: default avatarAlistair Francis <alistair.francis@xilinx.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-17-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      bdbae0ef
    • Eduardo Habkost's avatar
      esp: Remove user_creatable flag · f4afad38
      Eduardo Habkost authored
      
      esp devices aren't going to work with -device, as they need IRQs
      to be connected and mmio to be mapped (this is done by
      esp_init()). Remove the user_creatable flag from the device
      class.
      
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-16-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      f4afad38
    • Eduardo Habkost's avatar
      fw_cfg: Remove user_creatable flag · 731fec79
      Eduardo Habkost authored
      
      fw_cfg won't work with -device, as:
      * fw_cfg_init1() won't get called for the device;
      * The device won't appear at /machine/fw_cfg, and won't work with
        the -fw_cfg command-line option.
      
      Remove the user_creatable flag from the device class.
      
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Laszlo Ersek <lersek@redhat.com>
      Cc: Gabriel L. Somlo <somlo@cmu.edu>
      Reviewed-by: default avatarLaszlo Ersek <lersek@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-15-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      731fec79
    • Eduardo Habkost's avatar
      unimplemented-device: Remove user_creatable flag · 68aecefc
      Eduardo Habkost authored
      
      unimplemented-device needs to be created and mapped using
      create_unimplemented_device() (or equivalent code), and won't
      work with -device. Remove the user_creatable flag from the device
      class.
      
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-14-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      68aecefc
    • Eduardo Habkost's avatar
      isabus-bridge: Remove user_creatable flag · 0980a1c0
      Eduardo Habkost authored
      
      isabus-bridge needs to be created by isa_bus_new(), and won't
      work with -device, as it won't create the TYPE_ISA_BUS bus
      itself. Remove the user_creatable flag from the device class.
      
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-13-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      0980a1c0
    • Eduardo Habkost's avatar
      allwinner-ahci: Remove user_creatable flag · c803129c
      Eduardo Habkost authored
      
      allwinner-ahci needs its IRQ to be connected and mmio to be
      mapped (this is done by the alwinner-a10 device realize method),
      and won't work with -device. Remove the user_creatable flag from
      the device class.
      
      Cc: John Snow <jsnow@redhat.com>
      Cc: qemu-block@nongnu.org
      Cc: Beniamino Galvani <b.galvani@gmail.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: qemu-arm@nongnu.org
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Acked-by: default avatarJohn Snow <jsnow@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-12-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      c803129c
    • Eduardo Habkost's avatar
      sysbus-ahci: Remove user_creatable flag · a081ab8f
      Eduardo Habkost authored
      
      The sysbus-ahci devices are supposed to be created and wired by
      code from other devices, like calxeda_init() and
      xlnx_zynqmp_realize(), and won't work with -device. Remove the
      user_creatable flag from the device class.
      
      Cc: John Snow <jsnow@redhat.com>
      Cc: qemu-block@nongnu.org
      Cc: Rob Herring <robh@kernel.org>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: Alistair Francis <alistair.francis@xilinx.com>
      Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Reviewed-by: default avatarAlistair Francis <alistair.francis@xilinx.com>
      Acked-by: default avatarJohn Snow <jsnow@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-11-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      a081ab8f
    • Eduardo Habkost's avatar
      kvmvapic: Remove user_creatable flag · 040e9968
      Eduardo Habkost authored
      
      The kvmvapic device is only usable when created by
      apic_common_realize(), not using -device. Remove the
      user_creatable flag from the device class.
      
      Cc: Igor Mammedov <imammedo@redhat.com>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-10-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      040e9968
    • Eduardo Habkost's avatar
      ioapic: Remove user_creatable flag · 6c4672ca
      Eduardo Habkost authored
      
      An ioapic device is already created by the q35 initialization
      code, and using "-device ioapic" or "-device kvm-ioapic" will
      always fail with "Only 1 ioapics allowed". Remove the
      user_creatable flag from the ioapic device classes.
      
      Cc: Igor Mammedov <imammedo@redhat.com>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-9-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      6c4672ca
    • Eduardo Habkost's avatar
      kvmclock: Remove user_creatable flag · 642c1e05
      Eduardo Habkost authored
      
      kvmclock should be used by guests only when the appropriate CPUID
      feature flags are set on the VCPU, and it is automatically
      created by kvmclock_create() when those feature flags are set.
      This means creating a kvmclock device using -device is useless.
      Remove user_creatable from its device class.
      
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Thomas Huth <thuth@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-8-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      642c1e05
    • Eduardo Habkost's avatar
      pflash_cfi01: Remove user_creatable flag · c1ce65f7
      Eduardo Habkost authored
      
      TYPE_CFI_PFLASH01 devices need to be mapped by
      pflash_cfi01_register() (or equivalent) and can't be used with
      -device. Remove user_creatable from the device class.
      
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Max Reitz <mreitz@redhat.com>
      Cc: qemu-block@nongnu.org
      Cc: Laszlo Ersek <lersek@redhat.com>
      Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarLaszlo Ersek <lersek@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-7-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      c1ce65f7
    • Eduardo Habkost's avatar
      fdc: Remove user_creatable flag from sysbus-fdc & SUNW,fdtwo · 8ca97a1f
      Eduardo Habkost authored
      
      sysbus-fdc and SUNW,fdtwo devices need IRQs to be wired and mmio
      to be mapped, and can't be used with -device. Unset
      user_creatable on their device classes.
      
      Cc: John Snow <jsnow@redhat.com>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: Max Reitz <mreitz@redhat.com>
      Cc: qemu-block@nongnu.org
      Cc: Thomas Huth <thuth@redhat.com>
      Acked-by: default avatarJohn Snow <jsnow@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-6-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      8ca97a1f
    • Eduardo Habkost's avatar
      iommu: Remove FIXME comment about user_creatable=true · 8ab5700c
      Eduardo Habkost authored
      
      amd-iommu and intel-iommu are really meant to be used with
      -device, so they need user_creatable=true. Remove the FIXME
      comment.
      
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Reviewed-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-5-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      8ab5700c
    • Eduardo Habkost's avatar
      xen-backend: Remove FIXME comment about user_creatable flag · 950b31dd
      Eduardo Habkost authored
      
      xen-backend can be plugged/unplugged dynamically when using the
      Xen accelerator, so keep the user_creatable flag on the device
      class and remove the FIXME comment.
      
      Cc: Juergen Gross <jgross@suse.com>,
      Cc: Peter Maydell <peter.maydell@linaro.org>,
      Cc: Thomas Huth <thuth@redhat.com>
      Cc: sstabellini@kernel.org
      Cc: Markus Armbruster <armbru@redhat.com>,
      Cc: Marcel Apfelbaum <marcel@redhat.com>,
      Cc: Laszlo Ersek <lersek@redhat.com>
      Acked-by: default avatarJuergen Gross <jgross@suse.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-4-ehabkost@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      950b31dd
    • Eduardo Habkost's avatar
      sysbus: Set user_creatable=false by default on TYPE_SYS_BUS_DEVICE · e4f4fb1e
      Eduardo Habkost authored
      
      commit 33cd52b5 unset
      cannot_instantiate_with_device_add_yet in TYPE_SYSBUS, making all
      sysbus devices appear on "-device help" and lack the "no-user"
      flag in "info qdm".
      
      To fix this, we can set user_creatable=false by default on
      TYPE_SYS_BUS_DEVICE, but this requires setting
      user_creatable=true explicitly on the sysbus devices that
      actually work with -device.
      
      Fortunately today we have just a few has_dynamic_sysbus=1
      machines: virt, pc-q35-*, ppce500, and spapr.
      
      virt, ppce500, and spapr have extra checks to ensure just a few
      device types can be instantiated:
      
      * virt supports only TYPE_VFIO_CALXEDA_XGMAC, TYPE_VFIO_AMD_XGBE.
      * ppce500 supports only TYPE_ETSEC_COMMON.
      * spapr supports only TYPE_SPAPR_PCI_HOST_BRIDGE.
      
      This patch sets user_creatable=true explicitly on those 4 device
      classes.
      
      Now, the more complex cases:
      
      pc-q35-*: q35 has no sysbus device whitelist yet (which is a
      separate bug). We are in the process of fixing it and building a
      sysbus whitelist on q35, but in the meantime we can fix the
      "-device help" and "info qdm" bugs mentioned above. Also, despite
      not being strictly necessary for fixing the q35 bug, reducing the
      list of user_creatable=true devices will help us be more
      confident when building the q35 whitelist.
      
      xen: We also have a hack at xen_set_dynamic_sysbus(), that sets
      has_dynamic_sysbus=true at runtime when using the Xen
      accelerator. This hack is only used to allow xen-backend devices
      to be dynamically plugged/unplugged.
      
      This means today we can use -device with the following 22 device
      types, that are the ones compiled into the qemu-system-x86_64 and
      qemu-system-i386 binaries:
      
      * allwinner-ahci
      * amd-iommu
      * cfi.pflash01
      * esp
      * fw_cfg_io
      * fw_cfg_mem
      * generic-sdhci
      * hpet
      * intel-iommu
      * ioapic
      * isabus-bridge
      * kvmclock
      * kvm-ioapic
      * kvmvapic
      * SUNW,fdtwo
      * sysbus-ahci
      * sysbus-fdc
      * sysbus-ohci
      * unimplemented-device
      * virtio-mmio
      * xen-backend
      * xen-sysdev
      
      This patch adds user_creatable=true explicitly to those devices,
      temporarily, just to keep 100% compatibility with existing
      behavior of q35. Subsequent patches will remove
      user_creatable=true from the devices that are really not meant to
      user-creatable on any machine, and remove the FIXME comment from
      the ones that are really supposed to be user-creatable. This is
      being done in separate patches because we still don't have an
      obvious list of devices that will be whitelisted by q35, and I
      would like to get each device reviewed individually.
      
      Cc: Alexander Graf <agraf@suse.de>
      Cc: Alex Williamson <alex.williamson@redhat.com>
      Cc: Alistair Francis <alistair.francis@xilinx.com>
      Cc: Beniamino Galvani <b.galvani@gmail.com>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Cc: David Gibson <david@gibson.dropbear.id.au>
      Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Frank Blaschka <frank.blaschka@de.ibm.com>
      Cc: Gabriel L. Somlo <somlo@cmu.edu>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: Igor Mammedov <imammedo@redhat.com>
      Cc: Jason Wang <jasowang@redhat.com>
      Cc: John Snow <jsnow@redhat.com>
      Cc: Juergen Gross <jgross@suse.com>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Laszlo Ersek <lersek@redhat.com>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Max Reitz <mreitz@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: Pierre Morel <pmorel@linux.vnet.ibm.com>
      Cc: Prasad J Pandit <pjp@fedoraproject.org>
      Cc: qemu-arm@nongnu.org
      Cc: qemu-block@nongnu.org
      Cc: qemu-ppc@nongnu.org
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Shannon Zhao <zhaoshenglong@huawei.com>
      Cc: sstabellini@kernel.org
      Cc: Thomas Huth <thuth@redhat.com>
      Cc: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
      Acked-by: default avatarJohn Snow <jsnow@redhat.com>
      Acked-by: default avatarJuergen Gross <jgross@suse.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-3-ehabkost@redhat.com>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      [ehabkost: Small changes at sysbus_device_class_init() comments]
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      e4f4fb1e
    • Eduardo Habkost's avatar
      qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable · e90f2a8c
      Eduardo Habkost authored
      
      cannot_instantiate_with_device_add_yet was introduced by commit
      efec3dd6 to replace no_user. It was
      supposed to be a temporary measure.
      
      When it was introduced, we had 54
      cannot_instantiate_with_device_add_yet=true lines in the code.
      Today (3 years later) this number has not shrunk: we now have
      57 cannot_instantiate_with_device_add_yet=true lines. I think it
      is safe to say it is not a temporary measure, and we won't see
      the flag go away soon.
      
      Instead of a long field name that misleads people to believe it
      is temporary, replace it a shorter and less misleading field:
      user_creatable.
      
      Except for code comments, changes were generated using the
      following Coccinelle patch:
      
        @@
        expression DC;
        @@
        (
        -DC->cannot_instantiate_with_device_add_yet = false;
        +DC->user_creatable = true;
        |
        -DC->cannot_instantiate_with_device_add_yet = true;
        +DC->user_creatable = false;
        )
      
        @@
        typedef ObjectClass;
        expression dc;
        identifier class, data;
        @@
         static void device_class_init(ObjectClass *class, void *data)
         {
         ...
         dc->hotpluggable = true;
        +dc->user_creatable = true;
         ...
         }
      
        @@
        @@
         struct DeviceClass {
         ...
        -bool cannot_instantiate_with_device_add_yet;
        +bool user_creatable;
         ...
        }
      
        @@
        expression DC;
        @@
        (
        -!DC->cannot_instantiate_with_device_add_yet
        +DC->user_creatable
        |
        -DC->cannot_instantiate_with_device_add_yet
        +!DC->user_creatable
        )
      
      Cc: Alistair Francis <alistair.francis@xilinx.com>
      Cc: Laszlo Ersek <lersek@redhat.com>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: Thomas Huth <thuth@redhat.com>
      Acked-by: default avatarAlistair Francis <alistair.francis@xilinx.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Acked-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170503203604.31462-2-ehabkost@redhat.com>
      [ehabkost: kept "TODO remove once we're there" comment]
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      e90f2a8c
    • Stefan Hajnoczi's avatar
      Merge remote-tracking branch 'sstabellini/tags/xen-20170516-tag' into staging · 599c9cb6
      Stefan Hajnoczi authored
      
      Xen 2017/05/16
      
      # gpg: Signature made Tue 16 May 2017 08:18:32 PM BST
      # gpg:                using RSA key 0x894F8F4870E1AE90
      # gpg: Good signature from "Stefano Stabellini <stefano.stabellini@eu.citrix.com>"
      # gpg:                 aka "Stefano Stabellini <sstabellini@kernel.org>"
      # Primary key fingerprint: D04E 33AB A51F 67BA 07D3  0AEA 894F 8F48 70E1 AE90
      
      * sstabellini/tags/xen-20170516-tag:
        xen: call qemu_set_cloexec instead of fcntl
        xen/9pfs: fix two resource leaks on error paths, discovered by Coverity
        configure: Remove -lxencall for Xen detection
        xen/mapcache: store dma information in revmapcache entries for debugging
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      599c9cb6
    • Stefan Hajnoczi's avatar
      Merge remote-tracking branch 'jtc/tags/block-pull-request' into staging · fefb28a4
      Stefan Hajnoczi authored
      
      # gpg: Signature made Tue 16 May 2017 04:47:09 PM BST
      # gpg:                using RSA key 0xBDBE7B27C0DE3057
      # gpg: Good signature from "Jeffrey Cody <jcody@redhat.com>"
      # gpg:                 aka "Jeffrey Cody <jeff@codyprime.org>"
      # gpg:                 aka "Jeffrey Cody <codyprime@gmail.com>"
      # Primary key fingerprint: 9957 4B4D 3474 90E7 9D98  D624 BDBE 7B27 C0DE 3057
      
      * jtc/tags/block-pull-request:
        curl: do not do aio_poll when waiting for a free CURLState
        curl: convert readv to coroutines
        curl: convert CURLAIOCB to byte values
        curl: split curl_find_state/curl_init_state
        curl: avoid recursive locking of BDRVCURLState mutex
        curl: never invoke callbacks with s->mutex held
        curl: strengthen assertion in curl_clean_state
        block: curl: Allow passing cookies via QCryptoSecret
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      fefb28a4
  2. May 16, 2017
  3. May 15, 2017
    • Stefan Hajnoczi's avatar
      Merge remote-tracking branch 'kraxel/tags/pull-usb-20170512-1' into staging · 8a813c98
      Stefan Hajnoczi authored
      
      usb: bugfixes, doc update
      
      # gpg: Signature made Fri 12 May 2017 01:20:29 PM BST
      # gpg:                using RSA key 0x4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * kraxel/tags/pull-usb-20170512-1:
        hw/usb/dev-serial: Do not try to set vendorid or productid properties
        xhci: relax link check
        usb-hub: clear PORT_STAT_SUSPEND on wakeup
        xhci: fix logging
        usb-redir: fix stack overflow in usbredir_log_data
        qemu-doc: Update to use the new way of attaching USB devices
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      8a813c98
    • Stefan Hajnoczi's avatar
      Merge remote-tracking branch 'kraxel/tags/pull-ui-20170512-1' into staging · 384d9d55
      Stefan Hajnoczi authored
      
      ui: add egl-headless
      ui: some vnc cleanups
      ui: absolute events for input-linux
      
      # gpg: Signature made Fri 12 May 2017 12:50:07 PM BST
      # gpg:                using RSA key 0x4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * kraxel/tags/pull-ui-20170512-1:
        vnc: replace hweight_long() with ctpopl()
        vnc: simple clean up
        opengl: add egl-headless display
        egl: explicitly ask for core context
        egl-helpers: add missing error check
        egl-helpers: fix display init for x11
        egl-helpers: drop support for gles and debug logging
        virtio-gpu: move virtio_gpu_gl_block
        ui: input-linux: Add absolute event support
        ui: Support non-zero minimum values for absolute input axes
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      384d9d55
Loading