[libvirt] Schedule for upcoming release of 1.2.2

2014-02-16 Thread Daniel Veillard
Since February ends up on the 28, I think it makes sense to enter the freeze for 1.2.2 next week-end if we want to have it by the end of the month, so please try to get features pushed this week, well if you want them in the next release, thanks, Daniel -- Daniel Veillard | Open

Re: [libvirt] [PATCH v6 1/6] conf: Add a keyboard input device type

2014-02-16 Thread Li Zhang
On 2014年02月14日 17:36, Ján Tomko wrote: On 02/14/2014 10:02 AM, Li Zhang wrote: On 2014年02月14日 00:39, Daniel P. Berrange wrote: On Thu, Feb 13, 2014 at 04:48:21PM +0800, Li Zhang wrote: @@ -12422,10 +12426,12 @@ virDomainDefParseXML(xmlDocPtr xml, * XXX will this be true for other

[libvirt] [PATCH v12 00/11] Write separate module for hostdev passthrough

2014-02-16 Thread Chunyan Liu
These patches implements a separate module for hostdev passthrough so that it could be shared by different drivers and can maintain a global state of a host device. patch 1/11: pci/usb/scsi used_by should include driver and domain info to check conflict among different drivers. patch 2/11~5/11:

[libvirt] [PATCH v12 02/11] qemu_hostdev: move cfg-relaxedACS as a flag

2014-02-16 Thread Chunyan Liu
For extracting hostdev codes from qemu_hostdev.c to common library, change qemu specific cfg-relaxedACS handling to be a flag, and pass it to hostdev functions. Signed-off-by: Chunyan Liu cy...@suse.com --- src/qemu/qemu_hostdev.c | 11 +++ src/qemu/qemu_hostdev.h | 10 --

[libvirt] [PATCH v12 01/11] change used_by: specify both driver and domain

2014-02-16 Thread Chunyan Liu
Add driver info to used_by, to avoid conflict among different drivers if there are more than one drivers existing and using the hostdev. Signed-off-by: Chunyan Liu cy...@suse.com --- src/lxc/lxc_hostdev.c | 11 +++ src/qemu/qemu_conf.h|2 ++ src/qemu/qemu_driver.c |8

[libvirt] [PATCH v12 05/11] qemu_hostdev: add/remove share device outside

2014-02-16 Thread Chunyan Liu
For extracting hostdev codes from qemu_hostdev.c to common library, move add/remove a shareable csi hostdev to/from shared device table outside hostdev functions. Signed-off-by: Chunyan Liu cy...@suse.com --- src/qemu/qemu_hostdev.c |9 - src/qemu/qemu_hotplug.c | 14 ++

[libvirt] [PATCH v12 08/11] change qemu driver to use hostdev common library

2014-02-16 Thread Chunyan Liu
Change qemu driver to use hostdev common library instead of APIs in qemu_hostdev.[ch] Improve some test files. Signed-off-by: Chunyan Liu cy...@suse.com --- po/POTFILES.in |1 - src/Makefile.am |1 - src/qemu/qemu_command.c |1 - src/qemu/qemu_conf.h|9 +---

[libvirt] [PATCH v12 10/11] add hostdev pci backend type for xen

2014-02-16 Thread Chunyan Liu
Add VIR_DOMAIN_HOSTDEV_PCI_BACKEND_XEN. For legacy xen, it will use pciback as stub driver. Signed-off-by: Chunyan Liu cy...@suse.com --- docs/schemas/domaincommon.rng |1 + src/conf/domain_conf.c|3 ++- src/conf/domain_conf.h|1 + src/libxl/libxl_domain.c |9

[libvirt] [PATCH v12 03/11] qemu_hostdev: move COLD_BOOT as a flag

2014-02-16 Thread Chunyan Liu
For extracting hostdev codes from qemu_hostdev.c to common library, change qemu specific COLD_BOOT handling to be a flag, and pass it to hostdev functions. Signed-off-by: Chunyan Liu cy...@suse.com --- src/qemu/qemu_hostdev.c |6 +++--- src/qemu/qemu_hostdev.h |2 +-

[libvirt] [PATCH v12 07/11] add unit test for hostdev common library

2014-02-16 Thread Chunyan Liu
Add unit test for hostdev common library. Current tests are based on virpcimock. Signed-off-by: Chunyan Liu cy...@suse.com --- .gitignore |1 + tests/Makefile.am |5 + tests/virhostdevtest.c | 473 3 files changed, 479

[libvirt] [PATCH v12 04/11] qemu_hostdev: parse BACKEND_DEFAULT outside

2014-02-16 Thread Chunyan Liu
For extracting hostdev codes from qemu_hostdev.c to common library, change original paring VIR_DOMAIN_HOSTDEV_PCI_BACKEND_DEFAULT in hostdev function to qemuDomainDeviceDefPostParse. Signed-off-by: Chunyan Liu cy...@suse.com --- src/qemu/qemu_domain.c | 22

[libvirt] [PATCH v12 11/11] add pci passthrough for libxl driver

2014-02-16 Thread Chunyan Liu
Add pci passthrough to libxl driver, support attach-device, detach-device and start a vm with pci hostdev specified. Signed-off-by: Chunyan Liu cy...@suse.com --- src/libxl/libxl_conf.c | 63 +++ src/libxl/libxl_conf.h |4 + src/libxl/libxl_driver.c | 448

[libvirt] [PATCH v12 09/11] change lxc driver to use hostdev common library

2014-02-16 Thread Chunyan Liu
Change lxc driver to use hostdev common library instead of APIs in lxc_hostdev.[ch] Signed-off-by: Chunyan Liu cy...@suse.com --- po/POTFILES.in|1 - src/Makefile.am |1 - src/lxc/lxc_conf.h|4 - src/lxc/lxc_driver.c | 47 --- src/lxc/lxc_hostdev.c | 416

[libvirt] [PATCH v8 0/7] Support keyboard device

2014-02-16 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patchset is to add keyboard input device. For PPC64, it doesn't support a default keyboard device when the graphic is enabled. Libvirt supports QEMU command line as -device VGA which won't create any keyboard device for it. So it requires libvirt

[libvirt] [PATCH v8 2/7] conf: Add one interface to add default input devices

2014-02-16 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to add one new interface to add input devices. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/conf/domain_conf.c | 27 +++ src/conf/domain_conf.h | 4 src/libvirt_private.syms | 1 + 3 files

[libvirt] [PATCH v8 6/7] xen: format xen command line for USB keyboard

2014-02-16 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to format xen command line for USB keyboard Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/xenxs/xen_sxpr.c | 27 +++ src/xenxs/xen_xm.c | 30 ++ 2 files changed, 41

[libvirt] [PATCH v8 3/7] conf: Remove the implicit PS2 mouse for non-X86 platforms and add an implicit PS2 keyboard device for X86 platforms.

2014-02-16 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com PS2 device only works for X86 platform, other platforms may need USB mouse. Athough it doesn't influence the QEMU command line, but it's not right to add one PS2 mouse for non-X86 platform. What's more, PS2 keyboard can be supported for X86. So, this

[libvirt] [PATCH v8 1/7] conf: Add a keyboard input device type

2014-02-16 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com There is no keyboard for non-x86 platforms when graphics are enabled. It's preferred to add one USB keyboard. This patch is to add keyboard input device type. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- docs/schemas/domaincommon.rng | 1 +

[libvirt] [PATCH v8 7/7] Add a default USB keyboard and USB mouse for PPC64

2014-02-16 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com There is no keyboard working on PPC64 and PS2 mouse is only for X86 when graphics are enabled. It needs to add a USB keyboard and USB mouse for PPC64. This patch is to add a USB keyboard and USB mouse when graphics are enabled. Signed-off-by: Li Zhang

[libvirt] [PATCH v8 5/7] qemu: format qemu command line for USB keyboard

2014-02-16 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to format qemu command line for USB keyboard and add test cases for it. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu/qemu_command.c| 41 --

[libvirt] [PATCH v8 4/7] qemu_cap: Add USB keyboard capability

2014-02-16 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com QEMU can support USB keyboard but libvirt haven't supportted it yet. This patch is to add USB keyboard capabilities and test cases. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu/qemu_capabilities.c | 3 +++