qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 9432e5: xen: introduce dummy system device


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 9432e5: xen: introduce dummy system device
Date: Mon, 23 May 2016 09:34:39 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9432e53a5bc88681b2d3aec4dac9db07c5476d1b
      
https://github.com/qemu/qemu/commit/9432e53a5bc88681b2d3aec4dac9db07c5476d1b
  Author: Juergen Gross <address@hidden>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M hw/xenpv/xen_machine_pv.c
    M include/hw/xen/xen_backend.h

  Log Message:
  -----------
  xen: introduce dummy system device

Introduce a new dummy system device serving as parent for virtual
buses. This will enable new pv backends to introduce virtual buses
which are removable again opposed to system buses which are meant
to stay once added.

Signed-off-by: Juergen Gross <address@hidden>
Acked-by: Anthony PERARD <address@hidden>
Reviewed-by: Wei Liu <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 637c53ffcb891ce8876183e6b593b8f0c3763ab1
      
https://github.com/qemu/qemu/commit/637c53ffcb891ce8876183e6b593b8f0c3763ab1
  Author: Juergen Gross <address@hidden>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M hw/xen/xen_backend.c
    M hw/xen/xen_devconfig.c
    M include/hw/xen/xen_backend.h

  Log Message:
  -----------
  xen: write information about supported backends

Add a Xenstore directory for each supported pv backend. This will allow
Xen tools to decide which backend type to use in case there are
multiple possibilities.

The information is added under
/local/domain/<backend-domid>/device-model/<domid>/backends
before the "running" state is written to Xenstore. Using a directory
for each backend enables us to add parameters for specific backends
in the future.

This interface is documented in the Xen source repository in the file
docs/misc/qemu-backends.txt

In order to reuse the Xenstore directory creation already present in
hw/xen/xen_devconfig.c move the related functions to
hw/xen/xen_backend.c where they fit better.

Signed-off-by: Juergen Gross <address@hidden>
Acked-by: Anthony PERARD <address@hidden>
Reviewed-by: Wei Liu <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 816ac92ef769f9ffc534e49a1bb6177bddce7aa2
      
https://github.com/qemu/qemu/commit/816ac92ef769f9ffc534e49a1bb6177bddce7aa2
  Author: Juergen Gross <address@hidden>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M hw/usb/Makefile.objs
    A hw/usb/xen-usb.c
    M hw/xenpv/xen_machine_pv.c
    M include/hw/xen/xen_backend.h
    M include/hw/xen/xen_common.h

  Log Message:
  -----------
  xen: add pvUSB backend

Add a backend for para-virtualized USB devices for xen domains.

The backend is using host-libusb to forward USB requests from a
domain via libusb to the real device(s) passed through.

Signed-off-by: Juergen Gross <address@hidden>
Acked-by: Anthony PERARD <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d400fc018b326104d26d730e5cc8c36c1f662c34
      
https://github.com/qemu/qemu/commit/d400fc018b326104d26d730e5cc8c36c1f662c34
  Author: Thomas Huth <address@hidden>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M hw/usb/hcd-ohci.c

  Log Message:
  -----------
  usb/ohci: Fix crash with when specifying too many num-ports

QEMU currently crashes when an OHCI controller is instantiated with
too many ports, e.g. "-device pci-ohci,num-ports=100,masterbus=1".
Thus add a proper check in usb_ohci_init() to make sure that we
do not use more than OHCI_MAX_PORTS = 15 ports here.

Ticket: https://bugs.launchpad.net/qemu/+bug/1581308
Signed-off-by: Thomas Huth <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2b5f477789aa4d0a4aa444533558e21e63a310ec
      
https://github.com/qemu/qemu/commit/2b5f477789aa4d0a4aa444533558e21e63a310ec
  Author: Peter Maydell <address@hidden>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M hw/usb/Makefile.objs
    M hw/usb/hcd-ohci.c
    A hw/usb/xen-usb.c
    M hw/xen/xen_backend.c
    M hw/xen/xen_devconfig.c
    M hw/xenpv/xen_machine_pv.c
    M include/hw/xen/xen_backend.h
    M include/hw/xen/xen_common.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20160523-1' into 
staging

usb: add xen pvUSB backend, add num-ports check to ohci.

# gpg: Signature made Mon 23 May 2016 14:02:25 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-usb-20160523-1:
  usb/ohci: Fix crash with when specifying too many num-ports
  xen: add pvUSB backend
  xen: write information about supported backends
  xen: introduce dummy system device

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/38629bf5e4b5...2b5f477789aa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]