Re: [libvirt] [RFC] [PATCH v3 2/6] add fuse support for libvirt lxc

2012-10-24 Thread Gao feng
于 2012年10月23日 23:37, Daniel P. Berrange 写道: On Thu, Oct 18, 2012 at 01:25:30PM +0800, Gao feng wrote: 于 2012年10月16日 20:23, Daniel P. Berrange 写道: On Mon, Oct 08, 2012 at 08:43:28AM +0800, Gao feng wrote: 于 2012年09月26日 02:37, Daniel P. Berrange 写道: On Tue, Sep 11, 2012 at 10:54:48AM +0800, Gao

Re: [libvirt] [Libvirt-announce] Entering freeze for libvirt-1.0.0 release

2012-10-24 Thread Justin Clift
On 24/10/2012, at 3:14 PM, Daniel Veillard wrote: As scheduled, we are entering freeze for 1.0.0, yay ! I have tagged the git tree and pushed libvirt-1.0.0-rc1.tar.gz release candidate 1 to the ftp (along with rpms): ftp://libvirt.org/libvirt/ Due to the slightly higher visibility of this

Re: [libvirt] [PATCHv2 00/11] util: add VIR_(INSERT|DELETE)_ELEMENTS_N

2012-10-24 Thread Daniel P. Berrange
On Tue, Oct 23, 2012 at 01:46:46PM -0400, Laine Stump wrote: This is a repost of https://www.redhat.com/archives/libvir-list/2012-October/msg01080.html with PATCH 03/12 squashed into 01/12. There are no other changes. PATCH 01/11 defines a

Re: [libvirt] [PATCH 1/2] include: declare typed parameter handling earlier

2012-10-24 Thread Daniel P. Berrange
On Tue, Oct 23, 2012 at 12:01:02PM -0600, Eric Blake wrote: Commit 12ad7435 added new functions (virNodeGetMemoryParameters, virNodeSetMemoryParameters) into the section of the file reserved for deprecated names. Fix this by moving things earlier; split into two patches to make git diff

[libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Osier Yang
When the cpu placement model is auto, it sets the affinity for domain process with the advisory nodeset from numad, however, creating cgroup for the domain process (called emulator thread in some contexts) later overrides that with pinning it to all available pCPUs. How to reproduce: *

[libvirt] [PATCH 3/3] qemu: Prohibit chaning affinity of domain process if placement is 'auto'

2012-10-24 Thread Osier Yang
On one hand, numad probably will manage the affinity of domain process dynamically in future. On the other hand, even numad won't manage it, it still could confusion. Let's make things simpler enough to avoid the lair for now. --- src/qemu/qemu_driver.c |7 +++ 1 files changed, 7

[libvirt] [PATCH 1/3] qemu: Add helper to prepare cpumap for affinity setting

2012-10-24 Thread Osier Yang
Abstract the codes to prepare cpumap into a helper a function, which can be used later. * src/qemu/qemu_process.h: Declare qemuPrepareCpumap * src/qemu/qemu_process.c: Implement qemuPrepareCpumap, and use it. --- src/qemu/qemu_process.c | 62 +++

[libvirt] [PATCH 0/3] Do not override affinity set by auto placement

2012-10-24 Thread Osier Yang
Creating cgroup for emulator thread will override the affinity set by auto placement with all available pCPUs. 1/3 is just to add a helper to for later use. 2/3 to keep the affinity set by 'auto' placement. 3/3 to prohibit changing the affinity for emulator thread dynamically if placement == auto.

[libvirt] [PATCH] Fix build with apparmor

2012-10-24 Thread Jiri Denemark
Recent storage patches changed signature of virStorageFileGetMetadata and replaced chain with backingChain in virDomainDiskDef. --- src/security/virt-aa-helper.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/security/virt-aa-helper.c

Re: [libvirt] [PATCH] Fix build with apparmor

2012-10-24 Thread Osier Yang
On 2012年10月24日 18:20, Jiri Denemark wrote: Recent storage patches changed signature of virStorageFileGetMetadata and replaced chain with backingChain in virDomainDiskDef. It's good for tracking if mentioning the commit ID (35c74c173). --- src/security/virt-aa-helper.c | 10 ++ 1

[libvirt] A Big OOPS!!

2012-10-24 Thread Gene Czarcinski
A big OOPS!!! On 10/23/2012 04:55 PM, Gene Czarcinski wrote: On 10/23/2012 04:10 PM, Laine Stump wrote: I wouldn't worry about that quite yet. Let's wait until it's pushed upstream. At the point, we'll probably want the first two (for F17 and F18, which have dnsmasq-2.63 which according to you

Re: [libvirt] [PATCH 1/2] v3: put dnsmasq parameters into a file instead of the command line

2012-10-24 Thread Gene Czarcinski
On 10/23/2012 04:10 PM, Laine Stump wrote: Can you provide a bit more info as to what you would like to change without restarting dnsmasq. Right now, the ranges of IP addresses, the IP addresses to listen on, the domain. There may be other things in the future as virNetworkUpdate() gets fleshed

Re: [libvirt] [PATCH 1/2] v3: put dnsmasq parameters into a file instead of the command line

2012-10-24 Thread Gene Czarcinski
On 10/24/2012 07:46 AM, Gene Czarcinski wrote: On 10/23/2012 04:10 PM, Laine Stump wrote: Can you provide a bit more info as to what you would like to change without restarting dnsmasq. Right now, the ranges of IP addresses, the IP addresses to listen on, the domain. There may be other things

[libvirt] [PATCH] xml: shell-escape domain name in comment

2012-10-24 Thread Ján Tomko
Add virBufferEscapeShellXMLComment function that both quotes a string so shell deosn't interpert any special characters in it and makes sure that there's no -- in it, to avoid clashes with XML comments. virXMLEmitWarning is changed to use virBuffer and use the above function on the domain name.

Re: [libvirt] Entering freeze for libvirt-1.0.0 release

2012-10-24 Thread Gene Czarcinski
On 10/24/2012 12:14 AM, Daniel Veillard wrote: I have tagged the git tree And the tag is? [not obvious at least to me] Gene -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Entering freeze for libvirt-1.0.0 release

2012-10-24 Thread Daniel Veillard
On Wed, Oct 24, 2012 at 08:17:10AM -0400, Gene Czarcinski wrote: On 10/24/2012 12:14 AM, Daniel Veillard wrote: I have tagged the git tree And the tag is? [not obvious at least to me] v1.0.0-rc1 on commit 08842171d4c02a16db9adde91fade083349229ab you don't see it ? Daniel -- Daniel Veillard

Re: [libvirt] [PATCH 1/3] qemu: Add helper to prepare cpumap for affinity setting

2012-10-24 Thread Martin Kletzander
On 10/24/2012 12:00 PM, Osier Yang wrote: Abstract the codes to prepare cpumap into a helper a function, which can be used later. * src/qemu/qemu_process.h: Declare qemuPrepareCpumap * src/qemu/qemu_process.c: Implement qemuPrepareCpumap, and use it. --- src/qemu/qemu_process.c | 62

Re: [libvirt] [PATCH] xml: shell-escape domain name in comment

2012-10-24 Thread Jiri Denemark
On Wed, Oct 24, 2012 at 14:03:12 +0200, Ján Tomko wrote: Add virBufferEscapeShellXMLComment function that both quotes a string so shell deosn't interpert any special characters in it and makes sure that there's no -- in it, to avoid clashes with XML comments. virXMLEmitWarning is changed to

Re: [libvirt] [PATCH] xml: shell-escape domain name in comment

2012-10-24 Thread Ján Tomko
On 10/24/12 14:59, Jiri Denemark wrote: On Wed, Oct 24, 2012 at 14:03:12 +0200, Ján Tomko wrote: I should have spoken earlier but why don't we just emit UUID there? It's guaranteed that it is safe for both XML and shell and thus can be just copypasted even into interactive virsh. UUIDs are

Re: [libvirt] [PATCH] selinux: Don't fail RestoreAll if file doesn't have a default label

2012-10-24 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/23/2012 10:55 AM, Cole Robinson wrote: On 10/23/2012 06:56 AM, Daniel J Walsh wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/22/2012 04:13 PM, Cole Robinson wrote: On 10/22/2012 11:51 AM, Eric Blake wrote: On 10/21/2012 02:44

Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Martin Kletzander
On 10/24/2012 12:00 PM, Osier Yang wrote: When the cpu placement model is auto, it sets the affinity for domain process with the advisory nodeset from numad, however, creating cgroup for the domain process (called emulator thread in some contexts) later overrides that with pinning it to all

Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Osier Yang
On 2012年10月24日 21:17, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: When the cpu placement model is auto, it sets the affinity for domain process with the advisory nodeset from numad, however, creating cgroup for the domain process (called emulator thread in some contexts)

Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Martin Kletzander
On 10/24/2012 03:29 PM, Osier Yang wrote: On 2012年10月24日 21:17, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: When the cpu placement model is auto, it sets the affinity for domain process with the advisory nodeset from numad, however, creating cgroup for the domain

Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Osier Yang
On 2012年10月24日 21:36, Martin Kletzander wrote: On 10/24/2012 03:29 PM, Osier Yang wrote: On 2012年10月24日 21:17, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: When the cpu placement model is auto, it sets the affinity for domain process with the advisory nodeset from numad,

Re: [libvirt] [PATCH 3/3] qemu: Prohibit chaning affinity of domain process if placement is 'auto'

2012-10-24 Thread Martin Kletzander
On 10/24/2012 12:00 PM, Osier Yang wrote: On one hand, numad probably will manage the affinity of domain process dynamically in future. On the other hand, even numad won't manage it, s/even/even if/ it still could confusion. Let's make things simpler enough to avoid s/could/could cause/

Re: [libvirt] [PATCH 2/3] qemu: Keep the affinity when creating cgroup for emulator thread

2012-10-24 Thread Martin Kletzander
On 10/24/2012 03:41 PM, Osier Yang wrote: On 2012年10月24日 21:36, Martin Kletzander wrote: On 10/24/2012 03:29 PM, Osier Yang wrote: On 2012年10月24日 21:17, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: When the cpu placement model is auto, it sets the affinity for domain

Re: [libvirt] [PATCH 3/3] qemu: Prohibit chaning affinity of domain process if placement is 'auto'

2012-10-24 Thread Osier Yang
On 2012年10月24日 21:38, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: On one hand, numad probably will manage the affinity of domain process dynamically in future. On the other hand, even numad won't manage it, s/even/even if/ it still could confusion. Let's make things

Re: [libvirt] [PATCH 3/3] qemu: Prohibit chaning affinity of domain process if placement is 'auto'

2012-10-24 Thread Osier Yang
On 2012年10月24日 21:45, Osier Yang wrote: On 2012年10月24日 21:38, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: On one hand, numad probably will manage the affinity of domain process dynamically in future. On the other hand, even numad won't manage it, s/even/even if/ it

Re: [libvirt] [PATCH 3/3] qemu: Prohibit chaning affinity of domain process if placement is 'auto'

2012-10-24 Thread Martin Kletzander
On 10/24/2012 03:45 PM, Osier Yang wrote: On 2012年10月24日 21:38, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: On one hand, numad probably will manage the affinity of domain process dynamically in future. On the other hand, even numad won't manage it, s/even/even if/ it

[libvirt] [PATCH] cpu: Add recently added cpu feature flags.

2012-10-24 Thread Peter Krempa
Qemu has added some new feature flags. This patch adds them to libvirt. The new features are for the cpuid function 0x7 that takes an argument in the ecx register. Currently only 0x0 is used as the argument so I was lazy and I just clear the registers to 0 before calling cpuid. In future when

Re: [libvirt] Entering freeze for libvirt-1.0.0 release

2012-10-24 Thread Gene Czarcinski
On 10/24/2012 08:22 AM, Daniel Veillard wrote: On Wed, Oct 24, 2012 at 08:17:10AM -0400, Gene Czarcinski wrote: On 10/24/2012 12:14 AM, Daniel Veillard wrote: I have tagged the git tree And the tag is? [not obvious at least to me] v1.0.0-rc1 on commit

Re: [libvirt] Patch replaces scriptlets with new systemd macros

2012-10-24 Thread Daniel P. Berrange
On Wed, Oct 24, 2012 at 12:37:51PM +0200, Václav Pavlín wrote: Hi, I created patch for spec file to follow changes in guidelines with respect to new systemd macros (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd) What Fedora release are these macros available since ?

Re: [libvirt] [PATCH 1/2] include: declare typed parameter handling earlier

2012-10-24 Thread Daniel P. Berrange
On Wed, Oct 24, 2012 at 08:30:02AM -0600, Eric Blake wrote: On 10/24/2012 03:20 AM, Daniel P. Berrange wrote: On Tue, Oct 23, 2012 at 12:01:02PM -0600, Eric Blake wrote: Commit 12ad7435 added new functions (virNodeGetMemoryParameters, virNodeSetMemoryParameters) into the section of the file

Re: [libvirt] [PATCH 1/2] include: declare typed parameter handling earlier

2012-10-24 Thread Eric Blake
On 10/24/2012 03:20 AM, Daniel P. Berrange wrote: On Tue, Oct 23, 2012 at 12:01:02PM -0600, Eric Blake wrote: Commit 12ad7435 added new functions (virNodeGetMemoryParameters, virNodeSetMemoryParameters) into the section of the file reserved for deprecated names. Fix this by moving things

Re: [libvirt] [PATCH] xml: shell-escape domain name in comment

2012-10-24 Thread Eric Blake
On 10/24/2012 06:03 AM, Ján Tomko wrote: Add virBufferEscapeShellXMLComment function that both quotes a string so shell deosn't interpert any special characters in it and makes sure that there's no -- in it, to avoid clashes with XML comments. virXMLEmitWarning is changed to use virBuffer

Re: [libvirt] [PATCH 3/3] qemu: Prohibit chaning affinity of domain process if placement is 'auto'

2012-10-24 Thread Osier Yang
On 2012年10月24日 21:54, Martin Kletzander wrote: On 10/24/2012 03:45 PM, Osier Yang wrote: On 2012年10月24日 21:38, Martin Kletzander wrote: On 10/24/2012 12:00 PM, Osier Yang wrote: On one hand, numad probably will manage the affinity of domain process dynamically in future. On the other hand,

Re: [libvirt] [PATCH] cpu: Add recently added cpu feature flags.

2012-10-24 Thread Martin Kletzander
On 10/24/2012 03:56 PM, Peter Krempa wrote: Qemu has added some new feature flags. This patch adds them to libvirt. The new features are for the cpuid function 0x7 that takes an argument in the ecx register. Currently only 0x0 is used as the argument so I was lazy and I just clear the

Re: [libvirt] [PATCH] cpu: Add recently added cpu feature flags.

2012-10-24 Thread Peter Krempa
On 10/24/12 17:10, Martin Kletzander wrote: On 10/24/2012 03:56 PM, Peter Krempa wrote: Qemu has added some new feature flags. This patch adds them to libvirt. The new features are for the cpuid function 0x7 that takes an argument in the ecx register. Currently only 0x0 is used as the argument

[libvirt] [PATCH] qemu: Report errors from iohelper

2012-10-24 Thread Michal Privoznik
Currently, we use iohelper when saving/restoring a domain. However, if there's some kind of error (like I/O) it is not propagated to libvirt. Since it is not qemu who is doing the actual write() it will not get error. The iohelper does. Therefore we should check for iohelper errors as it makes

Re: [libvirt] [PATCH] qemu: Report errors from iohelper

2012-10-24 Thread Michal Privoznik
On 24.10.2012 17:49, Michal Privoznik wrote: Currently, we use iohelper when saving/restoring a domain. However, if there's some kind of error (like I/O) it is not propagated to libvirt. Since it is not qemu who is doing the actual write() it will not get error. The iohelper does. Therefore

Re: [libvirt] [PATCHv2 7/9] virNodeGetCPUMapFlags: Implement support function in nodeinfo

2012-10-24 Thread Viktor Mihajlovski
On 10/24/2012 01:21 AM, Eric Blake wrote: + +if (!(cpusPresent = nodeGetCPUmap(conn, maxpresent, present))) { +virReportError(VIR_ERR_INTERNAL_ERROR, %s, + _(Unable to retrieve 'present' CPU map)); +goto cleanup; +} + +if (!(cpusOnline =

Re: [libvirt] A Big OOPS!!

2012-10-24 Thread Gene Czarcinski
On 10/24/2012 07:23 AM, Gene Czarcinski wrote: A big OOPS!!! On 10/23/2012 04:55 PM, Gene Czarcinski wrote: On 10/23/2012 04:10 PM, Laine Stump wrote: I wouldn't worry about that quite yet. Let's wait until it's pushed upstream. At the point, we'll probably want the first two (for F17 and

Re: [libvirt] [PATCHv2 8/9] virNodeGetCPUMapFlags: Implement driver support

2012-10-24 Thread Viktor Mihajlovski
On 10/24/2012 01:31 AM, Eric Blake wrote: On 10/16/2012 08:05 AM, Viktor Mihajlovski wrote: Driver support added for: - test, pretending 8 host CPUS, 3 being online - qemu, using nodeGetCPUMapFlags We should implement this for as many drivers as possible; at least LXC also comes to mind as

Re: [libvirt] [PATCHv2 9/9] virNodeGetCPUMapFlags: Add python binding

2012-10-24 Thread Viktor Mihajlovski
On 10/24/2012 01:50 AM, Eric Blake wrote: There's still a lot of work that needs to be done here to properly check for errors, so I'll hand this one back to you to clean up. But squash this in to start your cleanup: Will do, thanks for the feedback and corrections. -- Mit freundlichen

Re: [libvirt] Patch replaces scriptlets with new systemd macros

2012-10-24 Thread Eric Blake
On 10/24/2012 08:29 AM, Daniel P. Berrange wrote: On Wed, Oct 24, 2012 at 12:37:51PM +0200, Václav Pavlín wrote: Hi, I created patch for spec file to follow changes in guidelines with respect to new systemd macros (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd)

Re: [libvirt] [PATCH 1/2] v3: put dnsmasq parameters into a file instead of the command line

2012-10-24 Thread Laine Stump
On 10/24/2012 07:56 AM, Gene Czarcinski wrote: On 10/24/2012 07:46 AM, Gene Czarcinski wrote: On 10/23/2012 04:10 PM, Laine Stump wrote: Can you provide a bit more info as to what you would like to change without restarting dnsmasq. Right now, the ranges of IP addresses, the IP addresses to

Re: [libvirt] Patch replaces scriptlets with new systemd macros

2012-10-24 Thread Eric Blake
On 10/24/2012 04:37 AM, Václav Pavlín wrote: Hi, I created patch for spec file to follow changes in guidelines with respect to new systemd macros (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd) new-systemd-macros.patch diff --git a/libvirt.spec

Re: [libvirt] Patch replaces scriptlets with new systemd macros

2012-10-24 Thread Laine Stump
On 10/24/2012 01:16 PM, Eric Blake wrote: On 10/24/2012 08:29 AM, Daniel P. Berrange wrote: On Wed, Oct 24, 2012 at 12:37:51PM +0200, Václav Pavlín wrote: Hi, I created patch for spec file to follow changes in guidelines with respect to new systemd macros (see

Re: [libvirt] [PATCH] esx: Update version checks for vSphere 5.1

2012-10-24 Thread Eric Blake
On 10/24/2012 01:33 PM, Matthias Bolte wrote: Also remove warnings for upcoming versions. There hadn't been any compatibility problems with new ESX version over the whole lifetime of the ESX driver, so I don't expect any in the future. Update documentation to mention vSphere 5.x support.

Re: [libvirt] [PATCH 1/2] v3: put dnsmasq parameters into a file instead of the command line

2012-10-24 Thread Gene Czarcinski
On 10/24/2012 01:31 PM, Laine Stump wrote: Is there some way (some command) that will cause dnsmasq to be restarted (possibly with new parameters as it re-does its configuration). If this was done, then little, except some cached names, would be lost). If there is not, maybe there should be.

[libvirt] [PATCH] daemon: Fix LIBVIRT_DEBUG=1 default output

2012-10-24 Thread Cole Robinson
This commit changes the behavior of LIBVIRT_DEBUG=1 libvirtd: $ git show 7022b09111d4322d21396a70d58320a9ad773962 commit 7022b09111d4322d21396a70d58320a9ad773962 Author: Daniel P. Berrange berra...@redhat.com Date: Thu Sep 27 13:13:09 2012 +0100 Automatically enable systemd journal logging

Re: [libvirt] [PATCH] esx: Update version checks for vSphere 5.1

2012-10-24 Thread Matthias Bolte
2012/10/24 Eric Blake ebl...@redhat.com: On 10/24/2012 01:33 PM, Matthias Bolte wrote: Also remove warnings for upcoming versions. There hadn't been any compatibility problems with new ESX version over the whole lifetime of the ESX driver, so I don't expect any in the future. Update

Re: [libvirt] [PATCH] daemon: Fix LIBVIRT_DEBUG=1 default output

2012-10-24 Thread Eric Blake
On 10/24/2012 03:01 PM, Cole Robinson wrote: This commit changes the behavior of LIBVIRT_DEBUG=1 libvirtd: $ git show 7022b09111d4322d21396a70d58320a9ad773962 commit 7022b09111d4322d21396a70d58320a9ad773962 Author: Daniel P. Berrange berra...@redhat.com Date: Thu Sep 27 13:13:09 2012

Re: [libvirt] [PATCH] daemon: Fix LIBVIRT_DEBUG=1 default output

2012-10-24 Thread Eric Blake
On 10/24/2012 03:47 PM, Eric Blake wrote: On 10/24/2012 03:01 PM, Cole Robinson wrote: This commit changes the behavior of LIBVIRT_DEBUG=1 libvirtd: $ git show 7022b09111d4322d21396a70d58320a9ad773962 commit 7022b09111d4322d21396a70d58320a9ad773962 Author: Daniel P. Berrange

[libvirt] [PATCHv3 0/4] implement virNodeGetCPUMap

2012-10-24 Thread Eric Blake
This is the prerequisite patches I promised, plus v3 of patches 7-8 of 9 from Viktor's v2 series (1-6 are already committed, and patch 9 for python bindings I'm leaving for Viktor to touch up). Eric Blake (2): bitmap: add virBitmapCountBits nodeinfo: improve probing node cpu bitmap Viktor

[libvirt] [PATCHv3 2/4] nodeinfo: improve probing node cpu bitmap

2012-10-24 Thread Eric Blake
Callers should not need to know what the name of the file to be read in the Linux-specific version of nodeGetCPUmap; furthermore, qemu cares about online cpus, not present cpus, when determining which cpus to skip. While at it, I fixed the fact that we were computing the maximum online cpu id by

[libvirt] [PATCHv3 1/4] bitmap: add virBitmapCountBits

2012-10-24 Thread Eric Blake
Sometimes it's handy to know how many bits are set. * src/util/bitmap.h (virBitmapCountBits): New prototype. (virBitmapNextSetBit): Use correct type. * src/util/bitmap.c (virBitmapNextSetBit): Likewise. (virBitmapCountBits): New function. * src/libvirt_private.syms (bitmap.h): Export it. *

[libvirt] [PATCHv3 4/4] virNodeGetCPUMap: Implement driver support

2012-10-24 Thread Eric Blake
From: Viktor Mihajlovski mihaj...@linux.vnet.ibm.com Driver support added for: - test, pretending 8 host CPUS, 3 being online - qemu, lxc, ..., using nodeGetCPUMap Signed-off-by: Viktor Mihajlovski mihaj...@linux.vnet.ibm.com --- src/lxc/lxc_driver.c | 1 + src/openvz/openvz_driver.c |

[libvirt] [PATCHv3 3/4] virNodeGetCPUMap: Implement support function in nodeinfo

2012-10-24 Thread Eric Blake
From: Viktor Mihajlovski mihaj...@linux.vnet.ibm.com Added an implemention of virNodeGetCPUMap to nodeinfo.c, (nodeGetCPUMap) which can be used by all drivers for a Linux hypervisor host. Signed-off-by: Viktor Mihajlovski mihaj...@linux.vnet.ibm.com --- src/libvirt_private.syms | 1 +