Skip to content

Commits

Permalink
realize-qdev.v3
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Jan 9, 2013

  1. qdev: Prepare "realized" property

    Introduce the QOM realizefn suggested by Anthony.
    Detailed documentation is supplied in the qdev header.
    
    For now this implements a default DeviceClass::realize callback that
    just wraps DeviceClass::init, which it deprecates.
    Once all devices have been converted to DeviceClass::realize,
    DeviceClass::init is to be removed.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Anthony Liguori <anthony@codemonkey.ws>
    afaerber committed Jan 9, 2013
    Copy the full SHA
    0cc00b5 View commit details
    Browse the repository at this point in the history
  2. qdev: Fold state enum into bool realized

    Whether the device was initialized or not is QOM-level information and
    currently unused. Drop it from device. This leaves the boolean state of
    whether or not DeviceClass::init was called or not, a.k.a. "realized".
    
    Suggested-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jan 9, 2013
    Copy the full SHA
    5313fbe View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2013

  1. Merge remote-tracking branch 'afaerber/qom-cpu' into staging

    * afaerber/qom-cpu:
      target-i386: Explicitly set vendor for each built-in cpudef
      target-i386: Sanitize AMD's ext2_features at realize time
      target-i386: Filter out unsupported features at realize time
      qemu-common.h: Make qemu_init_vcpu() stub static inline
      target-i386: check/enforce: Eliminate check_feat field
      target-i386: check/enforce: Check SVM flag support as well
      target-i386: check/enforce: Check all CPUID.80000001H.EDX bits
      target-i386: check/enforce: Do not ignore "hypervisor" flag
      target-i386: check/enforce: Fix CPUID leaf numbers on error messages
      target-i386: kvm: Enable all supported KVM features for -cpu host
      target-i386: kvm: -cpu host: Use GET_SUPPORTED_CPUID for SVM features
      cpu: Change parent type to Device
      qdev: Don't assume existence of parent bus on unparenting
      qdev: Include qdev code into *-user, too
      libqemustub: sysbus_get_default() stub
      libqemustub: vmstate register/unregister stubs
      libqemustub: Add qemu_[un]register_reset() stubs
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Jan 8, 2013
    Copy the full SHA
    4b274b1 View commit details
    Browse the repository at this point in the history
  2. target-i386: Explicitly set vendor for each built-in cpudef

    Since cpudef config is not supported anymore and all remaining sources
    now always set x86_def_t.vendor[123] fields, remove setting default
    vendor to simplify future re-factoring.
    
    Signed-off-by: Igor Mammedov <imammedo@redhat.com>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Igor Mammedov authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    ebe8b9c View commit details
    Browse the repository at this point in the history
  3. target-i386: Sanitize AMD's ext2_features at realize time

    When CPU properties are implemented, ext2_features may change
    between object_new(CPU) and cpu_realize_fn(). Sanitizing
    ext2_features for AMD based CPU at realize() time will keep
    current behavior after CPU features are converted to properties.
    
    Signed-off-by: Igor Mammedov <imammedo@redhat.com>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Igor Mammedov authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    9b15cd9 View commit details
    Browse the repository at this point in the history
  4. target-i386: Filter out unsupported features at realize time

    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Igor Mammedov <imammedo@redhat.com>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Igor Mammedov authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    4586f15 View commit details
    Browse the repository at this point in the history
  5. qemu-common.h: Make qemu_init_vcpu() stub static inline

    Turn the *-user macro into a no-op inline function to avoid
    unused-variable warnings and band-aiding #ifdef'ery.
    
    This allows to drop an #ifdef for alpha and avoids more for unicore32
    and other upcoming trivial realizefn implementations.
    
    Suggested-by: Lluís Vilanova <vilanova@ac.upc.edu>
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
    afaerber committed Jan 8, 2013
    Copy the full SHA
    75a192a View commit details
    Browse the repository at this point in the history
  6. target-i386: check/enforce: Eliminate check_feat field

    Now that all entries have check_feat=~0 in
    kvm_check_features_against_host(), we can eliminate check_feat entirely
    and make the code check all bits.
    
    This patch shouldn't introduce any behavior change, as check_feat is set
    to ~0 on all entries.
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Reviewed-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    e8beac0 View commit details
    Browse the repository at this point in the history
  7. target-i386: check/enforce: Check SVM flag support as well

    When nested SVM is supported, the kernel returns the SVM flag on
    GET_SUPPORTED_CPUID[1], so we can check the SVM flag safely in
    kvm_check_features_against_host().
    
    I don't know why the original code ignored the SVM flag. Maybe it was
    because kvm_cpu_fill_host() used the CPUID instruction directly instead
    of GET_SUPPORTED_CPUID
    
    [1] Older kernels (before v2.6.37) returned the SVM flag even if nested
        SVM was _not_ supported. So the only cases where this patch should
        change behavior is when SVM is being requested by the user or the
        CPU model, but not supported by the host. And on these cases we
        really want QEMU to abort if the "enforce" option is set.
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Reviewed-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    396d2cf View commit details
    Browse the repository at this point in the history
  8. target-i386: check/enforce: Check all CPUID.80000001H.EDX bits

    I have no idea why PPRO_FEATURES was being ignored on the check of the
    CPUID.80000001H.EDX bits. I believe it was a mistake, and it was
    supposed to be ~(PPRO_FEATURES & CPUID_EXT2_AMD_ALIASES) or just
    ~CPUID_EXT2_AMD_ALIASES, because some time ago kvm_cpu_fill_host() used
    the CPUID instruction directly (instead of
    kvm_arch_get_supported_cpuid()).
    
    But now kvm_cpu_fill_host() uses kvm_arch_get_supported_cpuid(), and
    kvm_arch_get_supported_cpuid() returns all supported bits for
    CPUID.80000001H.EDX, even the AMD aliases (that are explicitly copied
    from CPUID.01H.EDX), so we can make the code check/enforce all the
    CPUID.80000001H.EDX bits.
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Reviewed-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    2271462 View commit details
    Browse the repository at this point in the history
  9. target-i386: check/enforce: Do not ignore "hypervisor" flag

    We don't need any hack to ignore CPUID_EXT_HYPERVISOR anymore, because
    kvm_arch_get_supported_cpuid() now sets CPUID_EXT_HYPERVISOR properly.
    So, this shouldn't introduce any behavior change, but it makes the code
    simpler.
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Reviewed-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    54830ff View commit details
    Browse the repository at this point in the history
  10. target-i386: check/enforce: Fix CPUID leaf numbers on error messages

    The -cpu check/enforce warnings are printing incorrect information about the
    missing flags. There are no feature flags on CPUID leaves 0 and 0x80000000, but
    there were references to 0 and 0x80000000 in the table at
    kvm_check_features_against_host().
    
    This changes the model_features_t struct to contain the register number as
    well, so the error messages print the correct CPUID leaf+register information,
    instead of wrong CPUID leaf numbers.
    
    This also changes the format of the error messages, so they follow the
    "CPUID.<leaf>.<register>.<name> [bit <offset>]" convention used in Intel
    documentation. Example output:
    
        $ qemu-system-x86_64 -machine pc-1.0,accel=kvm -cpu Opteron_G4,+ia64,enforce
        warning: host doesn't support requested feature: CPUID.01H:EDX.ia64 [bit 30]
        warning: host doesn't support requested feature: CPUID.01H:ECX.xsave [bit 26]
        warning: host doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
        warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5]
        warning: host doesn't support requested feature: CPUID.80000001H:ECX.sse4a [bit 6]
        warning: host doesn't support requested feature: CPUID.80000001H:ECX.misalignsse [bit 7]
        warning: host doesn't support requested feature: CPUID.80000001H:ECX.3dnowprefetch [bit 8]
        warning: host doesn't support requested feature: CPUID.80000001H:ECX.xop [bit 11]
        warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
        Unable to find x86 CPU definition
        $
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Reviewed-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    8b4bedd View commit details
    Browse the repository at this point in the history
  11. target-i386: kvm: Enable all supported KVM features for -cpu host

    When using -cpu host, we don't need to use the kvm_default_features
    variable, as the user is explicitly asking QEMU to enable all feature
    supported by the host.
    
    This changes the kvm_cpu_fill_host() code to use GET_SUPPORTED_CPUID to
    initialize the kvm_features field, so we get all host KVM features
    enabled.
    
    This will also allow us to properly check/enforce KVM features inside
    kvm_check_features_against_host() later. For example, we will be able to
    make this:
    
      $ qemu-system-x86_64 -cpu ...,+kvm_pv_eoi,enforce
    
    refuse to start if kvm_pv_eoi is not supported by the host (after we fix
    kvm_check_features_against_host() to check KVM flags as well).
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Reviewed-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    bd004be View commit details
    Browse the repository at this point in the history
  12. target-i386: kvm: -cpu host: Use GET_SUPPORTED_CPUID for SVM features

    The existing -cpu host code simply sets every bit inside svm_features
    (initializing it to -1), and that makes it impossible to make the
    enforce/check options work properly when the user asks for SVM features
    explicitly in the command-line.
    
    So, instead of initializing svm_features to -1, use GET_SUPPORTED_CPUID
    to fill only the bits that are supported by the host (just like we do
    for all other CPUID feature words inside kvm_cpu_fill_host()).
    
    This will keep the existing behavior (as filter_features_for_kvm()
    already uses GET_SUPPORTED_CPUID to filter svm_features), but will allow
    us to properly check for KVM features inside
    kvm_check_features_against_host() later.
    
    For example, we will be able to make this:
    
      $ qemu-system-x86_64 -cpu ...,+pfthreshold,enforce
    
    refuse to start if the SVM "pfthreshold" feature is not supported by the
    host (after we fix kvm_check_features_against_host() to check SVM flags
    as well).
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Reviewed-by: Gleb Natapov <gleb@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    fcb93c0 View commit details
    Browse the repository at this point in the history
  13. cpu: Change parent type to Device

    This finally makes the CPU class a subclass of the Device class,
    allowing us to start using DeviceState properties on CPU subclasses.
    
    It has no_user=1, as creating CPUs using -device doesn't work yet.
    
    Signed-off-by: Igor Mammedov <imammedo@redhat.com>
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    961f839 View commit details
    Browse the repository at this point in the history
  14. qdev: Don't assume existence of parent bus on unparenting

    Commit 667d22d (qdev: move bus removal
    to object_unparent) made the assumption that at unparenting time
    parent_bus is not NULL. This assumption is unjustified since
    object_unparent() may well be called directly after object_initialize(),
    without any qdev_set_parent_bus().
    
    This did not cause any issues yet because qdev_[try_]create() does call
    qdev_set_parent_bus(), falling back to SysBus if unsupplied.
    
    While at it, ensure that this new function uses the device_ prefix and
    make the name more neutral in light of this semantic change.
    
    Reported-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Tested-by: Igor Mammedov <imammedo@redhat.com>
    afaerber committed Jan 8, 2013
    Copy the full SHA
    5d5b24d View commit details
    Browse the repository at this point in the history
  15. qdev: Include qdev code into *-user, too

    The code depends on some functions from qemu-option.o, so add
    qemu-option.o to universal-obj-y to make sure it's included.
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    507066f View commit details
    Browse the repository at this point in the history
  16. libqemustub: sysbus_get_default() stub

    The stub will be used on cases where sysbus.c is not compiled in (e.g.
    *-user).
    
    Note that code that uses NULL as the bus with qdev{_try,}_create()
    implicitly uses sysbus_get_default() as the bus, and will still require
    sysbus.c to be compiled in.
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    906709a View commit details
    Browse the repository at this point in the history
  17. libqemustub: vmstate register/unregister stubs

    Add vmstate stub functions, so that qdev.o can be used without savevm.o
    when vmstate support is not necessary (i.e. by *-user).
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    083a5f8 View commit details
    Browse the repository at this point in the history
  18. libqemustub: Add qemu_[un]register_reset() stubs

    This will be useful for code that don't call qemu_devices_reset() (e.g.
    *-user). If qemu_devices_reset() is never called, it means we don't need
    to keep track of the reset handler list.
    
    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    ehabkost authored and afaerber committed Jan 8, 2013
    Copy the full SHA
    41c6bcd View commit details
    Browse the repository at this point in the history
  19. Merge remote-tracking branch 'kraxel/usb.75' into staging

    * kraxel/usb.75: (32 commits)
      uhci: stop using portio lists
      usbredir: Add support for buffered bulk input (v2)
      exynos4210: Add EHCI support
      usb/ehci: Add SysBus EHCI device for Exynos4210
      usb/ehci: Move capsbase and opregbase into SysBus EHCI class
      usb/ehci: Clean up SysBus and PCI EHCI split
      xhci: call set-address with dummy usbpacket
      usb-redir: Add debugging to bufpq save / restore
      usbredir: Add usbredir_init_endpoints() helper
      usbredir: Verify we have 32 bits bulk length cap when redirecting to xhci
      usbredir: Add ep_stopped USBDevice method
      usbredir: Add USBEP2I and I2USBEP helper macros
      usbredir: Add an usbredir_stop_ep helper function
      usb: Add an usb_device_ep_stopped USBDevice method
      usb: Fix usb_ep_find_packet_by_id
      hid: Change idle handling to use a timer
      uhci: Maximize how many frames we catch up when behind
      uhci: Limit amount of frames processed in one go
      uhci: Add a QH_VALID define
      uhci: Fix pending interrupts getting lost on migration
      ...
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Jan 8, 2013
    Copy the full SHA
    560c30b View commit details
    Browse the repository at this point in the history
  20. Merge remote-tracking branch 'stefanha/net' into staging

    * stefanha/net:
      rtl8139: preserve link state across device reset
      e1000: no need auto-negotiation if link was down
      net: clean up network at qemu process termination
      e1000: Discard oversized packets based on SBP|LPE
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Jan 8, 2013
    Copy the full SHA
    c3dd94b View commit details
    Browse the repository at this point in the history
  21. target-mips: Fix helper and tests for dot/cross-dot product instructions

    Helper function for dpa_w_ph, dpax_w_ph, dps_w_ph and dpsx_w_ph incorrectly
    defines halfword vector elements as unsigned values. This results in wrong
    output which is not triggered in the tests as they also follow this logic.
    
    Signed-off-by: Petar Jovanovic <petarj@mips.com>
    Reviewed-by: Eric Johnson <ericj@mips.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    petar-jovanovic authored and aurel32 committed Jan 8, 2013
    Copy the full SHA
    da1a4ce View commit details
    Browse the repository at this point in the history
  22. target-mips: Replace macros by inline functions

    The macros RESTORE_ROUNDING_MODE and RESTORE_FLUSH_MODE silently used
    variable env from their callers. Using inline functions with env passed
    as a function argument is more transparent.
    
    This modification was proposed by Peter Maydell.
    
    Cc: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Reviewed-by: Eric Johnson <ericj@mips.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    stweil authored and aurel32 committed Jan 8, 2013
    Copy the full SHA
    e320d05 View commit details
    Browse the repository at this point in the history
  23. target-mips: Allow DSP access to be disabled once enabled.

    Clear the DSP hflags at the start of compute_hflags.  Otherwise access
    is not properly disabled once enabled.
    
    Signed-off-by: Eric Johnson <ericj@mips.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    Eric Johnson authored and aurel32 committed Jan 8, 2013
    Copy the full SHA
    e1a4019 View commit details
    Browse the repository at this point in the history
  24. linux-user: fix mips 32-on-64 prealloc case

    MIPS only supports 31 bits of virtual address space for user space, so let's
    make sure we stay within that limit with our preallocated memory block.
    
    This fixes the MIPS user space targets when executed without command line
    option.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    agraf authored and aurel32 committed Jan 8, 2013
    Copy the full SHA
    314992b View commit details
    Browse the repository at this point in the history
  25. uhci: stop using portio lists

    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    kraxel committed Jan 8, 2013
    Copy the full SHA
    89eb147 View commit details
    Browse the repository at this point in the history
  26. usbredir: Add support for buffered bulk input (v2)

    Buffered bulk mode is intended for bulk *input* endpoints, where the data is
    of a streaming nature (not part of a command-response protocol). These
    endpoints' input buffer may overflow if data is not read quickly enough.
    So in buffered bulk mode the usb-host takes care of the submitting and
    re-submitting of bulk transfers.
    
    Buffered bulk mode is necessary for reliable operation with the bulk in
    endpoints of usb to serial convertors. Unfortunatelty buffered bulk input
    mode will only work with certain devices, therefor this patch also adds a
    usb-id table to enable it for devices which need it, while leaving the
    bulk ep handling for other devices unmodified.
    
    Note that the bumping of the required usbredir from 0.5.3 to 0.6 does
    not mean that we will now need a newer usbredir release then qemu-1.3,
    .pc files reporting 0.5.3 have only ever existed in usbredir builds directly
    from git, so qemu-1.3 needs the 0.6 release too.
    
    Changes in v2:
    -Split of quirk handling into quirks.c
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    jwrdegoede authored and kraxel committed Jan 8, 2013
    Copy the full SHA
    b2d1fe6 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2013

  1. exynos4210: Add EHCI support

    Add EHCI USB host controller to exynos4210.
    
    Signed-off-by: Liming Wang <walimisdev@gmail.com>
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
    Reviewed-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    walimis authored and kraxel committed Jan 7, 2013
    Copy the full SHA
    358d615 View commit details
    Browse the repository at this point in the history
  2. usb/ehci: Add SysBus EHCI device for Exynos4210

    It uses a different capsbase and opregbase than the Xilinx device.
    
    Signed-off-by: Liming Wang <walimisdev@gmail.com>
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
    Cc: Igor Mitsyanko <i.mitsyanko@samsung.com>
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    afaerber authored and kraxel committed Jan 7, 2013
    Copy the full SHA
    aee7499 View commit details
    Browse the repository at this point in the history
  3. usb/ehci: Move capsbase and opregbase into SysBus EHCI class

    This allows specific derived models to use different values.
    
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    afaerber authored and kraxel committed Jan 7, 2013
    Copy the full SHA
    4a43436 View commit details
    Browse the repository at this point in the history
  4. usb/ehci: Clean up SysBus and PCI EHCI split

    SysBus EHCI was introduced in a hurry before 1.3 Soft Freeze.
    To use QOM casts in place of DO_UPCAST() / FROM_SYSBUS(), we need an
    identifying type. Introduce generic abstract base types for PCI and
    SysBus EHCI to allow multiple types to access the shared fields.
    
    While at it, move the state structs being amended with macros to the
    header file so that they can be embedded.
    
    The VMSTATE_PCI_DEVICE() macro does not play nice with the QOM
    parent_obj naming convention, so defer that cleanup.
    
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    afaerber authored and kraxel committed Jan 7, 2013
    Copy the full SHA
    5aa3ca9 View commit details
    Browse the repository at this point in the history
  5. xhci: call set-address with dummy usbpacket

    Due to the way devices are addressed with xhci (done by hardware, not
    the guest os) there is no packet when invoking the set-address control
    request.  Create a dummy packet in that case to avoid null pointer
    dereferences.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    kraxel committed Jan 7, 2013
    Copy the full SHA
    a820b57 View commit details
    Browse the repository at this point in the history
  6. usb-redir: Add debugging to bufpq save / restore

    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    jwrdegoede authored and kraxel committed Jan 7, 2013
    Copy the full SHA
    e97f0ac View commit details
    Browse the repository at this point in the history
  7. usbredir: Add usbredir_init_endpoints() helper

    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    jwrdegoede authored and kraxel committed Jan 7, 2013
    Copy the full SHA
    bd019b7 View commit details
    Browse the repository at this point in the history
Older