Re: [libvirt] [PATCH 0/3] use -serial for ppce500 board and add test case

2014-05-25 Thread Li Zhang
Hi Olivia, I have looked through your code. It looks good to me. Thanks. Li On 2014年05月22日 18:55, Olivia Yin wrote: Machine name ppce500 is used to replace ppce500v2 supported by QEMU. QEMU ppce500 board uses the old style -serial options. Test case ppce500-serial is used to verify this

Re: [libvirt] [PATCH] qemu: Fix specifying char devs for PPC

2014-05-21 Thread Li Zhang
-info.type == + VIR_DOMAIN_DEVICE_ADDRESS_TYPE_SPAPRVIO)); } -- 1.8.5 -- Li Zhang IBM China Linux Technology Centre -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] qemu: Fix specifying char devs for PPC

2014-05-21 Thread Li Zhang
On 2014年05月21日 14:00, Ján Tomko wrote: On 05/20/2014 07:25 AM, hong-hua@freescale.com wrote: Hi Cole, Thanks for the comments. Exactly there were already test cases for both pseries and ppce500 machines. For example, 1) qemuxml2argv-pseries-basic.args: '-chardev spapr-vty' for pseries.

Re: [libvirt] [PATCHv2 1/1] Set pci-ohci as the USB default controller for PPC64.

2014-04-24 Thread Li Zhang
On 2014年04月23日 19:45, Daniel P. Berrange wrote: ACK and pushed. For older QEMU versions this change has no functional effect, but for 2.0.0 it is needed to avoid duplicate mouse/kbd as you describe. Got it, thanks. :) -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCHv2 1/1] Set pci-ohci as the USB default controller for PPC64.

2014-04-21 Thread Li Zhang
ping... On 2014年04月09日 16:18, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com PPC64 prefers to set pci-ohci controller as default USB controller. Currently, libvirt is using legacy USB controller as default. There are problems with VGA which can't work correctly with USB Keyboard

Re: [libvirt] [PATCH 1/1] Enable QEMU_CAPS_PCI_MULTIBUS capability for QEMU2.0 forward.

2014-04-10 Thread Li Zhang
On 2014年04月10日 13:50, Michal Privoznik wrote: On 10.04.2014 07:26, Li Zhang wrote: On 2014年04月09日 17:25, Michal Privoznik wrote: On 09.04.2014 04:03, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com For QEMU2.0 forward version, it supports PCI multiBUS. Currently, libvirt still

[libvirt] [PATCH v2 1/1] Enable QEMU_CAPS_PCI_MULTIBUS capability for QEMU2.0 forward on PPC64.

2014-04-10 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com For QEMU2.0 forward version on PPC64, it supports PCI multibus. Currently, libvirt still disables it which causes an error Bus 'pci' not found. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu/qemu_capabilities.c | 26

Re: [libvirt] [PATCH v2 1/1] Enable QEMU_CAPS_PCI_MULTIBUS capability for QEMU2.0 forward on PPC64.

2014-04-10 Thread Li Zhang
On 2014年04月10日 20:36, Eric Blake wrote: On 04/10/2014 02:59 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com For QEMU2.0 forward version on PPC64, it supports PCI multibus. Currently, libvirt still disables it which causes an error Bus 'pci' not found. Signed-off-by: Li Zhang

Re: [libvirt] [PATCH v2 1/1] Enable QEMU_CAPS_PCI_MULTIBUS capability for QEMU2.0 forward on PPC64.

2014-04-10 Thread Li Zhang
On 2014年04月10日 20:39, Daniel P. Berrange wrote: On Thu, Apr 10, 2014 at 06:36:10AM -0600, Eric Blake wrote: On 04/10/2014 02:59 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com For QEMU2.0 forward version on PPC64, it supports PCI multibus. Currently, libvirt still disables

[libvirt] [PATCH 1/1] Set pci-ohci as the USB default controller for PPC64.

2014-04-09 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com PPC64 prefers to set pci-ohci controller as default USB controller. Currently, libvirt is using legacy USB controller as default. There are problems with VGA which can't work correctly with USB Keyboard and USB Mouse. This patch is to set pci-ohci

Re: [libvirt] [PATCH 1/1] Set pci-ohci as the USB default controller for PPC64.

2014-04-09 Thread Li Zhang
On 2014年04月09日 15:54, Nikunj A Dadhania wrote: Li Zhang zhlci...@gmail.com writes: From: Li Zhang zhlci...@linux.vnet.ibm.com PPC64 prefers to set pci-ohci controller as default USB controller. Currently, libvirt is using legacy USB controller as default. There are problems with VGA which

[libvirt] [PATCHv2 1/1] Set pci-ohci as the USB default controller for PPC64.

2014-04-09 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com PPC64 prefers to set pci-ohci controller as default USB controller. Currently, libvirt is using legacy USB controller as default. There are problems with VGA which can't work correctly with USB Keyboard and USB Mouse. While providing -nodefaults, ppc64

Re: [libvirt] [PATCH 1/1] Enable QEMU_CAPS_PCI_MULTIBUS capability for QEMU2.0 forward.

2014-04-09 Thread Li Zhang
On 2014年04月09日 17:25, Michal Privoznik wrote: On 09.04.2014 04:03, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com For QEMU2.0 forward version, it supports PCI multiBUS. Currently, libvirt still disables it which causes an error Bus 'pci' not found. Signed-off-by: Li Zhang zhlci

[libvirt] [PATCH 1/1] Enable QEMU_CAPS_PCI_MULTIBUS capability for QEMU2.0 forward.

2014-04-08 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com For QEMU2.0 forward version, it supports PCI multiBUS. Currently, libvirt still disables it which causes an error Bus 'pci' not found. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu/qemu_capabilities.c | 3 +++ 1 file changed, 3

Re: [libvirt] [PATCH 1/1] Enable QEMU_CAPS_PCI_MULTIBUS capability for QEMU2.0 forward.

2014-04-08 Thread Li Zhang
On 2014年04月09日 11:20, Eric Blake wrote: On 04/08/2014 08:03 PM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com For QEMU2.0 forward version, it supports PCI multiBUS. Currently, libvirt still disables it which causes an error Bus 'pci' not found. Signed-off-by: Li Zhang zhlci

Re: [libvirt] [PATCH v9 0/7] Support keyboard device

2014-02-18 Thread Li Zhang
Hi Jan and Daniel, Would you like to accept this patchset? Thanks. On 2014年02月17日 18:17, Li Zhang wrote: 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

Re: [libvirt] [PATCH v9 3/7] conf: Remove the implicit PS2 devices for non-X86 platforms

2014-02-18 Thread Li Zhang
On 2014年02月17日 18:17, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com PS2 device only works for X86 platform, other platforms may need USB devices instead. Athough it doesn't influence the QEMU command line, but it's not right to add PS2 mouse/keyboard for non-X86 platform. So

Re: [libvirt] [PATCH v9 0/7] Support keyboard device

2014-02-18 Thread Li Zhang
On 2014年02月18日 20:52, Ján Tomko wrote: On 02/18/2014 09:58 AM, Li Zhang wrote: Hi Jan and Daniel, Would you like to accept this patchset? Thanks. Hi, it looks good to me and I'd like to push it this week with the changes I pointed out, unless someone has a different opinion. Thanks a lot

Re: [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-17 Thread Li Zhang
On 2014年02月17日 17:17, Ján Tomko wrote: On 02/17/2014 10:04 AM, Li Zhang wrote: On 2014年02月17日 16:48, Ján Tomko wrote: On 02/17/2014 08:33 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com PS2 device only works for X86 platform, other platforms may need USB mouse. Athough

Re: [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-17 Thread Li Zhang
On 2014年02月17日 16:48, Ján Tomko wrote: On 02/17/2014 08:33 AM, Li Zhang wrote: 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

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

2014-02-17 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 v9 1/7] conf: Add one interface to add default input devices

2014-02-17 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 | 29 + src/conf/domain_conf.h | 4 src/libvirt_private.syms | 1 + 3

[libvirt] [PATCH v9 2/7] conf: Add a keyboard input device type

2014-02-17 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com There is no keyboard support currently in libvirt . For some platforms, it needs to add a USB keyboard when graphics are enabled. This patch is to add keyboard input device type. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- docs/schemas

[libvirt] [PATCH v9 3/7] conf: Remove the implicit PS2 devices for non-X86 platforms

2014-02-17 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com PS2 device only works for X86 platform, other platforms may need USB devices instead. Athough it doesn't influence the QEMU command line, but it's not right to add PS2 mouse/keyboard for non-X86 platform. So, this patch is to remove PS2 devices for non

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

2014-02-17 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 v9 5/7] qemu: format qemu command line for USB keyboard

2014-02-17 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 -- .../qemuxml2argv-pseries-usb

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

2014-02-17 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 v9 4/7] qemu_cap: Add USB keyboard capability

2014-02-17 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 +++ src/qemu

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 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

[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 -- .../qemuxml2argv-pseries-usb

[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 +++ src/qemu

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

2014-02-14 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 +++ src/qemu

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

2014-02-14 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 v7 1/7] conf: Add a keyboard input device type

2014-02-14 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 v7 2/7] conf: Add one interface to add default input devices

2014-02-14 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 v7 3/7] conf: Remove the implicit PS2 mouse for non-X86 and platforms and add an implicit PS2 keyboard device for X86 platforms.

2014-02-14 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

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

2014-02-14 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 -- .../qemuxml2argv-pseries-usb

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

2014-02-14 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 v7 7/7] Add a default USB keyboard and USB mouse for PPC64

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

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

2014-02-14 Thread Li Zhang
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 virt types ? */ if ((STREQ(def-os.type, hvm) input-bus

[libvirt] [PATCH v6 0/6] Support keyboard device

2014-02-13 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 v6 2/6] conf: Add one interface to add default input devices

2014-02-13 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 | 29 + src/conf/domain_conf.h | 4 src/libvirt_private.syms | 1 + 3

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

2014-02-13 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 v6 4/6] qemu_cap: Add USB keyboard capability

2014-02-13 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 +++ src/qemu

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

2014-02-13 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

[libvirt] [PATCH v6 5/6] qemu: parse qemu command line for USB keyboard

2014-02-13 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to format qemu command line and xen driver 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 -- src/xenxs

[libvirt] [PATCH v6 6/6] Add a default USB keyboard and USB mouse for PPC64

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

Re: [libvirt] [PATCH v6 2/6] conf: Add one interface to add default input devices

2014-02-13 Thread Li Zhang
On 2014年02月13日 20:37, Ján Tomko wrote: On 02/13/2014 09:48 AM, Li Zhang wrote: 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 | 29

Re: [libvirt] [PATCH v6 4/6] qemu_cap: Add USB keyboard capability

2014-02-13 Thread Li Zhang
On 2014年02月13日 20:37, Ján Tomko wrote: On 02/13/2014 09:48 AM, Li Zhang wrote: 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

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

2014-02-13 Thread Li Zhang
On 2014年02月13日 20:37, Ján Tomko wrote: On 02/13/2014 09:48 AM, Li Zhang wrote: 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

Re: [libvirt] [PATCH v6 5/6] qemu: parse qemu command line for USB keyboard

2014-02-13 Thread Li Zhang
On 2014年02月13日 20:37, Ján Tomko wrote: On 02/13/2014 09:48 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to format qemu command line and xen driver for USB keyboard and add test cases for it. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu

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

2014-02-13 Thread Li Zhang
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 virt types ? */ if ((STREQ(def-os.type, hvm) input-bus

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

2014-02-10 Thread Li Zhang
On 2014年02月03日 23:09, Ján Tomko wrote: On 12/19/2013 08:50 AM, Li Zhang wrote: 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

Re: [libvirt] [PATCH v5 5/6] qemu: parse qemu command line for USB keyboard

2014-02-10 Thread Li Zhang
On 2014年02月03日 23:09, Ján Tomko wrote: On 12/19/2013 08:50 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to format qemu command line and xen driver for USB keyboard and add test cases for it. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu

Re: [libvirt] [PATCH v5 3/6] conf: Remove PS2 mouse device for non-X86 platforms

2014-02-10 Thread Li Zhang
On 2014年02月03日 23:09, Ján Tomko wrote: On 12/19/2013 08:50 AM, Li Zhang wrote: 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

Re: [libvirt] [PATCH v5 0/6] Support keyboard device

2014-01-07 Thread Li Zhang
ping On 2013年12月19日 15:50, Li Zhang wrote: 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

[libvirt] [PATCH v5 0/6] Support keyboard device

2013-12-18 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 v5 1/6] conf: Add a keyboard input device type

2013-12-18 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 v5 6/6] Add a default USB keyboard and USB mouse for PPC64

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

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

2013-12-18 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 | 29 + src/conf/domain_conf.h | 4 src/libvirt_private.syms | 1 + 3

[libvirt] [PATCH v5 3/6] conf: Remove PS2 mouse device for non-X86 platforms

2013-12-18 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. This patch is to remove PS2 device definition from other

[libvirt] [PATCH v5 5/6] qemu: parse qemu command line for USB keyboard

2013-12-18 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to format qemu command line and xen driver 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 -- src/xenxs

[libvirt] [PATCH v5 4/6] qemu_cap: Add USB keyboard capability

2013-12-18 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 | 2 ++ src/qemu

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

2013-12-13 Thread Li Zhang
On 2013年12月12日 20:36, Daniel P. Berrange wrote: On Thu, Dec 12, 2013 at 03:17:40PM +0800, Li Zhang wrote: 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

Re: [libvirt] [PATCH v4 0/6] Support keyboard device

2013-12-12 Thread Li Zhang
ping ... On 2013年12月12日 15:17, Li Zhang wrote: 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

[libvirt] [PATCH v4 5/6] qemu: parse qemu command line for USB keyboard

2013-12-11 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to format qemu command line and xen driver 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 -- src/xenxs

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

2013-12-11 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 v4 4/6] qemu_cap: Add USB keyboard capability

2013-12-11 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 | 2 ++ src/qemu

[libvirt] [PATCH v4 2/6] conf: Add one interface to add default input devices.

2013-12-11 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 | 29 + src/conf/domain_conf.h | 4 src/libvirt_private.syms | 1 + 3

[libvirt] [PATCH v4 0/6] Support keyboard device

2013-12-11 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 v4 6/6] Add a default USB keyboard and USB mouse for PPC64

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

[libvirt] [PATCH v4 3/6] conf: Remove PS2 mouse device for non-X86 platforms

2013-12-11 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. This patch is to remove PS2 device definition from other

Re: [libvirt] [PATCH v3 3/6] Remove PS2 mouse device for non-X86 platforms

2013-12-10 Thread Li Zhang
On 2013年12月11日 00:17, Ján Tomko wrote: On 12/10/2013 07:02 AM, Li Zhang wrote: 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

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

2013-12-09 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 v3 4/6] qemu_cap: Add USB keyboard capability

2013-12-09 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 | 2 ++ src/qemu

[libvirt] [PATCH v3 5/6] qemu: parse qemu command line for USB keyboard

2013-12-09 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to format qemu command line and xen driver for USB keyboard and add test cases for it. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu/qemu_command.c| 44 +- src/xenxs

[libvirt] [PATCH v3 0/6] Support keyboard device

2013-12-09 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 v3 2/6] conf: Add one interface to add default input devices.

2013-12-09 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 | 29 + src/conf/domain_conf.h | 4 src/libvirt_private.syms | 1 + 3

[libvirt] [PATCH v3 6/6] Add a default USB keyboard for PPC64

2013-12-09 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com There is no keyboard working on PPC64 when graphics are enabled. It needs to add a USB keyboard for it. This patch is to add a USB keyboard when graphics are enabled. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu/qemu_domain.c

[libvirt] [PATCH v3 3/6] Remove PS2 mouse device for non-X86 platforms

2013-12-09 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. This patch is to remove PS2 device definition from other

[libvirt] [PATCH v2 5/5] Add a default USB keyboard for PPC64

2013-12-05 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com There is no keyboard working on PPC64 when graphic is enabled. It needs to add a USB keyboard for it. This patch is to add a USB keyboard when graphic is enabled. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu/qemu_domain.c

[libvirt] [PATCH v2 1/5] conf: Add a keyboard input device type

2013-12-05 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com There is no keyboard for PPC64 platform when grapchic is 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 --- src/conf/domain_conf.c | 62

[libvirt] [PATCH v2 4/5] qemu: parse USB keyboard qemu command line.

2013-12-05 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to parse USB keyboard qemu command line and add test cases for it. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src/qemu/qemu_command.c | 18 +++--- .../qemuxml2argv-pseries-usb

[libvirt] [PATCH v2 2/5] qemu_cap: Add USB keyboard capability

2013-12-05 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 | 2 ++ src/qemu

[libvirt] [PATCH v2 0/5] Support keyboard device

2013-12-05 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 v2 3/5] docs/schemas/domaincommon.rng: add keyboard input device type

2013-12-05 Thread Li Zhang
From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to add keyboard input device type in docs/schemas/domaincommon.rng Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- docs/schemas/domaincommon.rng | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/schemas/domaincommon.rng b

Re: [libvirt] [PATCH 1/4] Add USB Keyboard support in libvirt

2013-12-05 Thread Li Zhang
On 2013年12月05日 19:41, Daniel P. Berrange wrote: On Mon, Dec 02, 2013 at 03:27:09PM +0800, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com PS2 devices are not supported for non-x86 platforms. So it needs one USB keyboard when graphic is enabled. This patch is to add one kbd input

Re: [libvirt] [PATCH 3/4] schemas/domaincommon.rng: add keyboard input device type

2013-12-05 Thread Li Zhang
On 2013年12月05日 19:42, Daniel P. Berrange wrote: On Mon, Dec 02, 2013 at 03:27:11PM +0800, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to add keyboard input device type in domaincommon.rng Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- docs/schemas

Re: [libvirt] [PATCH 4/4] tests: add test cases for USB keyboard

2013-12-05 Thread Li Zhang
On 2013年12月05日 19:42, Daniel P. Berrange wrote: On Mon, Dec 02, 2013 at 03:27:12PM +0800, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to add USB keyboard test cases for capabilities, qemuxml2argvtest and qemuargv2xmltest. Signed-off-by: Li Zhang zhlci

Re: [libvirt] [PATCH v2 1/5] conf: Add a keyboard input device type

2013-12-05 Thread Li Zhang
On 2013年12月05日 18:11, Ján Tomko wrote: On 12/05/2013 09:17 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com There is no keyboard for PPC64 platform when grapchic is enabled. s/grapchic is/graphics are/ It's preferred to add one USB keyboard. This patch is to add keyboard

Re: [libvirt] [PATCH v2 4/5] qemu: parse USB keyboard qemu command line.

2013-12-05 Thread Li Zhang
On 2013年12月05日 18:11, Ján Tomko wrote: On 12/05/2013 09:17 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to parse USB keyboard qemu command line s/parse/format/ OK. and add test cases for it. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- src

Re: [libvirt] [PATCH v2 3/5] docs/schemas/domaincommon.rng: add keyboard input device type

2013-12-05 Thread Li Zhang
On 2013年12月05日 18:11, Ján Tomko wrote: On 12/05/2013 09:17 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to add keyboard input device type in docs/schemas/domaincommon.rng Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com --- docs/schemas/domaincommon.rng

Re: [libvirt] [PATCH v2 2/5] qemu_cap: Add USB keyboard capability

2013-12-05 Thread Li Zhang
On 2013年12月05日 18:11, Ján Tomko wrote: On 12/05/2013 09:17 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com QEMU can support USB keyboard but libvirt haven't supportted it yet. s/haven't supportted/hasn't supported/ This patch is to add USB keyboard capabilities and test cases

Re: [libvirt] [PATCH v2 2/5] qemu_cap: Add USB keyboard capability

2013-12-05 Thread Li Zhang
On 2013年12月05日 18:11, Ján Tomko wrote: On 12/05/2013 09:17 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com QEMU can support USB keyboard but libvirt haven't supportted it yet. s/haven't supportted/hasn't supported/ This patch is to add USB keyboard capabilities and test cases

  1   2   3   4   >