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

[libvirt] [PATCH v10] bhyve: add a basic driver

2014-02-18 Thread Roman Bogorodskiy
Changes from v9: - Fix AC_PATH_PROG macro usage for bhyve tools - Check for readdir() failures - Make sure we go only with disk type 'file' - Remove unneeded locking from bhyveConnectGetCapabilities() - Don't check for NULL before calling virObjectUnlock() - s/INFO/DEBUG/ for low level

[libvirt] [PATCH v10] bhyve: add a basic driver

2014-02-18 Thread Roman Bogorodskiy
At this point it has a limited functionality and is highly experimental. Supported domain operations are: * define * start * destroy * dumpxml * dominfo It's only possible to have only one disk device and only one network, which should be of type bridge. --- configure.ac

Re: [libvirt] Schedule for upcoming release of 1.2.2

2014-02-18 Thread Roman Bogorodskiy
Daniel Veillard wrote: The driver is still in a very basic form from what I can tell, it's an important step, but I don't think the impact on our whole ecosystem justify the jump at this point :-) First version of Hyper-v driver was added in 0.9.5 ;-), but I hope bhyve will have more

Re: [libvirt] Schedule for upcoming release of 1.2.2

2014-02-18 Thread Daniel Veillard
On Tue, Feb 18, 2014 at 02:16:46PM +0400, Roman Bogorodskiy wrote: Daniel Veillard wrote: The driver is still in a very basic form from what I can tell, it's an important step, but I don't think the impact on our whole ecosystem justify the jump at this point :-) First version of

Re: [libvirt] [PATCH v9] bhyve: add a basic driver

2014-02-18 Thread Roman Bogorodskiy
Eric Blake wrote: I didn't see any edits to cfg.mk; not sure if you were trying 'make syntax-check' or if we may have some tweaks to clean up. Oh, and I guess you're still waiting on me to find time to tweak upstream gnulib to use $(SED) during syntax-check. Indeed, I'm waiting for gnulib

Re: [libvirt] [PATCH REPOST] Introduce new OOM testing support

2014-02-18 Thread Michal Privoznik
On 13.02.2014 11:14, Daniel P. Berrange wrote: The previous OOM testing support would re-run the entire main method each iteration, failing a different malloc each time. When a test suite has 'n' allocations, the number of repeats requires is (n * (n + 1) ) / 2. This gets very large, very

Re: [libvirt] [PATCH v9] bhyve: add a basic driver

2014-02-18 Thread Daniel P. Berrange
On Tue, Feb 18, 2014 at 02:23:31PM +0400, Roman Bogorodskiy wrote: Eric Blake wrote: I didn't see any edits to cfg.mk; not sure if you were trying 'make syntax-check' or if we may have some tweaks to clean up. Oh, and I guess you're still waiting on me to find time to tweak upstream

Re: [libvirt] [PATCH v2] bandwidth: Adjust documentation

2014-02-18 Thread Laine Stump
On 02/17/2014 05:45 PM, John Ferlan wrote: h5a name=elementVlanTagSetting VLAN tag (on supported network types only)/a/h5 diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in index 1ca1bec..d4c390a 100644 --- a/docs/formatnetwork.html.in +++

Re: [libvirt] [PATCH v4 2/3] network: Introduce network hooks

2014-02-18 Thread Laine Stump
On 02/13/2014 03:17 PM, Michal Privoznik wrote: On 13.02.2014 12:10, Laine Stump wrote: On 02/12/2014 08:20 PM, Laine Stump wrote: It all looks fine (aside from the few small grammar corrections in the docs. I just want one last confirmation that we don't want both plug and plugged events,

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

2014-02-18 Thread Ján Tomko
On 02/17/2014 11:17 AM, Li Zhang wrote: 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

Re: [libvirt] [PATCH v9 1/7] conf: Add one interface to add default input devices

2014-02-18 Thread Ján Tomko
On 02/17/2014 11:17 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 + src/conf/domain_conf.h |

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

2014-02-18 Thread Ján Tomko
On 02/17/2014 11:17 AM, Li Zhang wrote: From: Li Zhang zhlci...@linux.vnet.ibm.com This patch is to format xen command line for USB keyboard s/xen command line/Xen XM and S-Expr config/ both here and in the subject. Signed-off-by: Li Zhang zhlci...@linux.vnet.ibm.com ---

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

2014-02-18 Thread Ján Tomko
On 02/17/2014 11:17 AM, 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.

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

2014-02-18 Thread Ján Tomko
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. Jan -- libvir-list mailing list

Re: [libvirt] [PATCH v4 2/3] network: Introduce network hooks

2014-02-18 Thread Michal Privoznik
On 18.02.2014 12:20, Laine Stump wrote: On 02/13/2014 03:17 PM, Michal Privoznik wrote: On 13.02.2014 12:10, Laine Stump wrote: On 02/12/2014 08:20 PM, Laine Stump wrote: It all looks fine (aside from the few small grammar corrections in the docs. I just want one last confirmation that we

[libvirt] [PATCH] Fix conflicting types of virInitctlSetRunLevel

2014-02-18 Thread Ján Tomko
aebbcdd didn't change the non-linux definition of the function, breaking the build on FreeBSD: ../../src/util/virinitctl.c:164: error: conflicting types for 'virInitctlSetRunLevel' ../../src/util/virinitctl.h:40: error: previous declaration of 'virInitctlSetRunLevel' was here --- Pushed as

[libvirt] Is it possible to set a timeout to the Connection class?

2014-02-18 Thread Pasquale Dir
I am using the java api bindings. I'd like to set a connection timeout on the Connect class as sometimes it takes just too long. Is there any way/workaround? -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] virDomainGetMaxVcpus does not work as expected

2014-02-18 Thread Cole Robinson
On 02/18/2014 02:11 AM, Claudio Bley wrote: Hi. Any opinions on this? At Thu, 13 Feb 2014 14:50:08 +0100, Claudio Bley wrote: Hi. When calling virDomainGetMaxVcpus (http://libvirt.org/html/libvirt-libvirt.html#virDomainGetMaxVcpus) on an inactive domain, I receive this error: scala

Re: [libvirt] [libvirt-users] event-test.py cannot detects domain shutdown

2014-02-18 Thread Cole Robinson
On 02/18/2014 05:12 AM, Kim Larry wrote: 2014년 2월 11일 오후 10:00에 Eric Blake ebl...@redhat.com 작성: On 02/11/2014 12:20 AM, Kim Larry wrote: libvirtd version is 1.1.4 and using Xen for hypervisor. I'm not as familiar with the xen hypervisor as with qemu; it may just be the case that no one

Re: [libvirt] virDomainGetMaxVcpus does not work as expected

2014-02-18 Thread Eric Blake
On 02/13/2014 06:50 AM, Claudio Bley wrote: The docs say: If the guest is inactive, this is basically the same as virConnectGetMaxVcpus(). If the guest is running this will reflect the maximum number of virtual CPUs the guest was booted with. But, apparently, all the driver

[libvirt] java api bindings for detecting domain events

2014-02-18 Thread Avanti Ajay
Hi.. I am doing a project in which I need to detect KVM domain events and I am using java for my project. On the net I found many patches for the libvirt Java API bindings for event detection. Does the latest version 0.5 have these patches included ie can I use the method

Re: [libvirt] [PATCH v2] bandwidth: Adjust documentation

2014-02-18 Thread John Ferlan
On 02/18/2014 05:58 AM, Laine Stump wrote: On 02/17/2014 05:45 PM, John Ferlan wrote: h5a name=elementVlanTagSetting VLAN tag (on supported network types only)/a/h5 diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in index 1ca1bec..d4c390a 100644 ---

[libvirt] [PATCH] bridge_driver.h: Fix build --without-network

2014-02-18 Thread Michal Privoznik
The networkNotifyActualDevice function is accepting two arguments, not one: qemu/qemu_process.c: In function 'qemuProcessNotifyNets': qemu/qemu_process.c:2776:47: error: macro networkNotifyActualDevice passed 2 arguments, but takes just 1 if (networkNotifyActualDevice(def, net) 0)

Re: [libvirt] [PATCH] bridge_driver.h: Fix build --without-network

2014-02-18 Thread Laine Stump
On 02/18/2014 07:43 PM, Michal Privoznik wrote: The networkNotifyActualDevice function is accepting two arguments, not one: qemu/qemu_process.c: In function 'qemuProcessNotifyNets': qemu/qemu_process.c:2776:47: error: macro networkNotifyActualDevice passed 2 arguments, but takes just 1

[libvirt] Reporting log/error messages through capabilities

2014-02-18 Thread Richard W.M. Jones
When qemu is completely broken, libvirtd starts up OK but exists in a kind of broken state where no guests can possibly be run. I hit this problem ... again ... today: https://bugzilla.redhat.com/show_bug.cgi?id=1066630#c0 There is a libvirt bug here, which is that it's very hard to diagnose

Re: [libvirt] Is it possible to set a timeout to the Connection class?

2014-02-18 Thread Eric Blake
On 02/18/2014 07:02 AM, Pasquale Dir wrote: I am using the java api bindings. I'd like to set a connection timeout on the Connect class as sometimes it takes just too long. Which particular API takes too long? There are some APIs like migration that take a long time, but where you can use

[libvirt] ANNOUNCE: libvirt 1.1.3.4 maintenance release

2014-02-18 Thread Cole Robinson
libvirt 1.1.3.4 maintenance release is now available. This is libvirt 1.1.3 with additional bugfixes that have accumulated upstream since the initial release. This release can be downloaded at: http://libvirt.org/sources/stable_updates/libvirt-1.1.3.4.tar.gz Changes in this version: *

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

Re: [libvirt] [libvirt-users] event-test.py cannot detects domain shutdown

2014-02-18 Thread Jim Fehlig
Cole Robinson wrote: On 02/18/2014 05:12 AM, Kim Larry wrote: The thing I found today is that if libvirt uses xend driver, shutdown events are delivered, but if libvirt uses libxl drvier, doesn't show up anything. It seems there are bugs on shutdown event, so I did dig into the libvirt

[libvirt] [Question] Is it ok to occupy large amount of cache when save?

2014-02-18 Thread Wangyufei (James)
Hello, When I call virDomainManagedSave, libvirtd will fork a child process libvirt_iohelper to write save file, and the system cache will increase soon just like this: Swap:0M total,0M used,0M free, 1668M cached Swap:0M total,0M used,0M

Re: [libvirt] [Question] Is it ok to occupy large amount of cache when save?

2014-02-18 Thread Eric Blake
On 02/18/2014 09:06 PM, Wangyufei (James) wrote: Hello, When I call virDomainManagedSave, libvirtd will fork a child process libvirt_iohelper to write save file, and the system cache will increase soon just like this: Swap:0M total,0M used,0M free, 1668M

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