于 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
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
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
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
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:
*
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
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 +++
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.
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
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
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
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
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
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.
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
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
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
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
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
-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
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
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)
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
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,
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/
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
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
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
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
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
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
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 ?
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
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
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
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,
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
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
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
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
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 =
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
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
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
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)
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
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
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
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.
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.
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
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
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
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
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
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
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.
*
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 |
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 +
59 matches
Mail list logo