It seems that libvirt is not cpu hotplug aware.
Please refer to the following problem.
1. At first, we have 2 cpus.
# cat /cgroup/cpuset/cpuset.cpus
0-1
# cat /cgroup/cpuset/libvirt/qemu/cpuset.cpus
0-1
2. And we have a vm1 with following configuration.
cputune
vcpupin vcpu='0'
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
src/qemu/qemu_driver.c |8
1 file changed, 8 insertions(+)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 64c407d..509cdd7 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -92,6 +92,7 @@
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
src/lxc/lxc_driver.c |8
1 file changed, 8 insertions(+)
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index ff11c2c..45f6cc0 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -63,6 +63,7 @@
#include
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
daemon/libvirtd.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c
index 19dd26b..e71cd79 100644
--- a/daemon/libvirtd.c
+++ b/daemon/libvirtd.c
@@ -56,6 +56,8 @@
#include uuid.h
This patch adds a callback for cpu hotplug event.
The cpu hotplug netlink message is of the following format:
{online|offline}@/devices/system/cpu/cpuxx (xx is cpuid)
When a cpu online message is received, the callback will
get the new added cpuid from the message, and adds it to
the
allow migration even domain isn't active by
inserting some stubs to tunnel migration path.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
src/qemu/qemu_driver.c|2 +-
src/qemu/qemu_migration.c | 181
+++--
src/qemu/qemu_migration.h |3 +-
On Fri, Aug 31, 2012 at 02:36:07PM +0800, Daniel Veillard wrote:
On Thu, Aug 30, 2012 at 08:44:57PM +0200, Guido Günther wrote:
On Wed, Aug 29, 2012 at 11:19:42PM +0800, Daniel Veillard wrote:
I was a bit afraid of the .0 effect on release name, but we really
have a number of problem
On 08/31/2012 07:42 PM, Eric Blake wrote:
On 08/31/2012 07:59 AM, Martin Kletzander wrote:
There is a new pm/ element implemented that can control what ACPI
sleeping states will be advertised by BIOS and allowed to be switched
to by libvirt. The default keeps defaults on hypervisor, otherwise
On 08/31/2012 08:01 PM, Eric Blake wrote:
On 08/31/2012 07:59 AM, Martin Kletzander wrote:
Few tests were added which are checking whether the parsing of the xml
and command-line arguments is working and compatible with each other.
---
tests/qemuargv2xmltest.c | 3
On 08/31/2012 07:49 PM, Eric Blake wrote:
On 08/31/2012 07:59 AM, Martin Kletzander wrote:
This patch adds support for running qemu guests with the required
parameters to forcefully enable or disable BIOS advertising of S3 and
S4 states. The support for this is added to capabilities and there
On Mon, Sep 03, 2012 at 08:37:13AM +0200, Guido Günther wrote:
On Fri, Aug 31, 2012 at 02:36:07PM +0800, Daniel Veillard wrote:
On Thu, Aug 30, 2012 at 08:44:57PM +0200, Guido Günther wrote:
On Wed, Aug 29, 2012 at 11:19:42PM +0800, Daniel Veillard wrote:
I was a bit afraid of the .0
On 09/03/2012 08:06 AM, Tang Chen wrote:
It seems that libvirt is not cpu hotplug aware.
Please refer to the following problem.
1. At first, we have 2 cpus.
# cat /cgroup/cpuset/cpuset.cpus
0-1
# cat /cgroup/cpuset/libvirt/qemu/cpuset.cpus
0-1
2. And we have a vm1 with following configuration.
Previously it refuses to do the secondary bus reset as long as
there is(are) devices/functions behind the same bus, regardless
of whether the devices/functions are being used or not. And it
only save and restore the device itself's PCI config space.
But later it was changed to allow the secondary
On 2012年09月01日 02:16, Eric Blake wrote:
On 08/31/2012 07:17 AM, Osier Yang wrote:
Though I don't quite understand it well enough, but it looks
wrong to read the control register from the device, and then
write to its parent twice, while doing the secondary bus reset.
---
src/util/pci.c |2
On 09/03/2012 04:42 PM, Viktor Mihajlovski wrote:
Hi,
this approach requires that libvirtd keeps running through the entire
lifecycle of a guest. That is something that cannot be safely assumed
and therefore hotplug events can be missed.
That means that libvirt must synchronize the hypervisors
On 2012年08月31日 22:37, Eric Blake wrote:
On 08/31/2012 04:10 AM, Osier Yang wrote:
Validates the wwn while parsing, error out if it's malformed.
* src/util/util.h: Declare virValidateWWN
* src/util/util.c: Implement virValidateWWN
* src/libvirt_private.syms: Export virValidateWWN.
*
Validates the wwn while parsing, error out if it's malformed.
* src/util/util.h: Declare virValidateWWN
* src/util/util.c: Implement virValidateWWN
* src/libvirt_private.syms: Export virValidateWWN.
* src/conf/domain_conf.h: New member 'wwn' for disk def.
* src/conf/domain_conf.c: Parse and
On 2012年08月29日 14:44, Daniel P. Berrange wrote:
On Wed, Aug 29, 2012 at 01:29:37AM -0400, Alex Jia wrote:
ACK.
--
Regards,
Alex
- Original Message -
From: Osier Yangjy...@redhat.com
To: libvir-list@redhat.com
Sent: Tuesday, August 28, 2012 11:52:24 PM
Subject: [libvirt] [libvirt-perl
On 2012年08月29日 16:15, Guannan Ren wrote:
On 08/29/2012 12:01 AM, Osier Yang wrote:
To make sure the domain config is not broken after the API calls.
---
This depends on
https://www.redhat.com/archives/libvir-list/2012-August/msg01792.html
---
scripts/domain/202-numa-set-parameters.t | 99
Hi:
i used to use linux bridge and specify interfaces by 'Generic ethernet
connection'
mode,after reading this page:
http://libvirt.org/formatdomain.html#elementsNICS
i am not sure if i need to change to another mode(eg:'virtual network') to
specify interfaces when switching linux bridge to open
QEMU (since 1.2-rc0) supports setting up a syscall whitelist through
libseccomp on linux kernel from 3.5-rc1. This is enabled by specifying
-sandbox on on qemu command line.
This patch detects this capability by searching for -sandbox in qemu
help output and runs qemu with -sandbox on if sandbox
I ran 'sudo make install' in /path/to/libvirt. But same error is coming.
Maybe following will be helpful:
- I extracted the libvirt.0.10.1 in ~/Downloads
- And I am running the code in ~/Downloads/libvirt-0.10.1
- I ran 'sudo make install' in the above directory.
On 2 September 2012 16:24,
On 09/03/2012 06:39 AM, Rahul Bansal wrote:
[Please don't top-post on technical lists.]
I ran 'sudo make install' in /path/to/libvirt. But same error is coming.
Maybe following will be helpful:
- I extracted the libvirt.0.10.1 in ~/Downloads
- And I am running the code in
When the password change failed we updated the graphic definition
anyways, which is not desired.
---
src/qemu/qemu_hotplug.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 1251d6b..a8a904c 100644
--- a/src/qemu/qemu_hotplug.c
+++
Hello All,
I wanted to ask a question regarding the tests that are run during make check.
If a particular test fails when running make check, how do we which test failed
and why?
Is there a log that helps when debugging such errors?
--
Many Thanks,
Regards,
Shradha Shah
--
libvir-list
Hi,
I was discussing with Jiri Denemark about the current behavior of none
seclabels with multiple security drivers and I'd like to hear more
opinions about how this should work.
Currently, a none security label can be defined specifically to each
enabled security driver. For example, using
On 09/03/2012 11:52 AM, Shradha Shah wrote:
Hello All,
I wanted to ask a question regarding the tests that are run during make check.
If a particular test fails when running make check, how do we which test
failed
and why?
The test(s) that failed can be found by searching through the make
On Mon, Sep 3, 2012 at 7:03 AM, Ján Tomko jto...@redhat.com wrote:
QEMU (since 1.2-rc0) supports setting up a syscall whitelist through
libseccomp on linux kernel from 3.5-rc1. This is enabled by specifying
-sandbox on on qemu command line.
snip
There's a big push to not rely on -help
---
src/util/virnetdevbridge.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/util/virnetdevbridge.c b/src/util/virnetdevbridge.c
index 7b11bee..8559223 100644
--- a/src/util/virnetdevbridge.c
+++ b/src/util/virnetdevbridge.c
@@ -30,6 +30,15 @@
#include
Hi,
Here are some patches to get libvirt building on OpenBSD. I tested basic
functionality
with virt-manager though there appear to be some rough edges to fix/polish
(could also be
in virt-manager). At least basic libvirt usage should work on OpenBSD now.
Jasper Lievisse Adriaanse (4):
---
src/vbox/vbox_XPCOMCGlue.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/vbox/vbox_XPCOMCGlue.c b/src/vbox/vbox_XPCOMCGlue.c
index e7e9c37..63470ae 100644
--- a/src/vbox/vbox_XPCOMCGlue.c
+++ b/src/vbox/vbox_XPCOMCGlue.c
@@ -48,7 +48,7 @@
---
configure.ac |2 +-
src/rpc/virnetsocket.c | 10 ++
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index e0d00d5..7ba1e9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -197,7 +197,7 @@ dnl Availability of various common
---
configure.ac |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7ba1e9c..701ab50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -188,7 +188,13 @@ RT_LIBS=
LIBS=$LIBS $LIB_PTHREAD -lrt
AC_CHECK_FUNC([clock_gettime],[
33 matches
Mail list logo