Hi.
At Tue, 2 Oct 2012 12:57:03 -0300,
Felipe Oliveira Gutierrez wrote:
>
> My netcat version is v1.10-38 and I am using Debian on 192.XXX.XXX.XX
>
> # nc -h
> [v1.10-38]
> connect to somewhere: nc [-options] hostname port[s] [ports] ...
> listen for inbound: nc -l -p port [-options] [host
libssh2 unfortunately doesn't support symbol versioning so RPM can't
figure out what version is needed for the currently installed libvirt
package. This patch adds a runtime requirement, so that the correct
version of libssh2 can be installed along with libvirt.
---
libvirt.spec.in | 1 +
1 file c
On 10/15/12 23:20, Eric Blake wrote:
Given Daniel's announcement[1], code targetting the next release will
be in 1.0.0, not 0.10.3. Changed mechanically with:
for f in $(git grep -l '0\(.\)10\13\b') ; do
sed -i -e 's/0\(.\)10\13/1\10\10/g' $f
done
[1]https://www.redhat.com/archives/libvir-
On Mon, Oct 15, 2012 at 10:25:58AM +0100, Daniel P. Berrange wrote:
> On Mon, Oct 15, 2012 at 10:30:07AM +0200, Stefan Hajnoczi wrote:
> > On Sat, Oct 13, 2012 at 04:47:14PM -0400, Laine Stump wrote:
> > > Here is the sequence sent to disconnect only the host side, then
> > > reconnect it with a ne
Laine Stump writes:
> On 10/15/2012 05:25 AM, Daniel P. Berrange wrote:
>> On Mon, Oct 15, 2012 at 10:30:07AM +0200, Stefan Hajnoczi wrote:
>>> On Sat, Oct 13, 2012 at 04:47:14PM -0400, Laine Stump wrote:
Here is the sequence sent to disconnect only the host side, then
reconnect it with
On Mon, Oct 15, 2012 at 11:15:30AM -0400, Laine Stump wrote:
> On 10/15/2012 05:25 AM, Daniel P. Berrange wrote:
> > On Mon, Oct 15, 2012 at 10:30:07AM +0200, Stefan Hajnoczi wrote:
> >> On Sat, Oct 13, 2012 at 04:47:14PM -0400, Laine Stump wrote:
> >>> Here is the sequence sent to disconnect only
On Tue, Oct 16, 2012 at 09:35:02 +0200, Peter Krempa wrote:
> libssh2 unfortunately doesn't support symbol versioning so RPM can't
> figure out what version is needed for the currently installed libvirt
> package. This patch adds a runtime requirement, so that the correct
> version of libssh2 can b
On 10/15/2012 04:12 PM, Guannan Ren wrote:
> On 10/15/2012 08:45 PM, Martin Kletzander wrote:
>> In commit 9674f2c637114fa6ac0680fe5658a41a62bb34a8, I forgot to change
>> selabel_lookup with the other functions, so this one-liner does exactly
>> that.
>> ---
>> src/security/security_selinux.c | 2
New macro VIR_CPU_USED added to facilitate the interpretation of
cpu maps.
Further, hardened the other cpumap macros against invocations
like VIR_CPU_USE(cpumap + 1, cpu)
Signed-off-by: Viktor Mihajlovski
---
include/libvirt/libvirt.h.in | 20
1 files changed, 16 insertion
Extend the driver structure by nodeGetCPUMapFlags entry in support of the
new API virNodeGetCPUMapFlags.
Signed-off-by: Viktor Mihajlovski
---
src/driver.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/driver.h b/src/driver.h
index bdcaa01..1af9568 100644
---
Adding a new API to obtain information about the
host node's present, online and offline CPUs.
int virNodeGetCPUMapFlags(virConnectPtr conn,
unsigned char **cpumap,
unsigned int *online,
unsigned int flags);
The functio
- Added a new host command nodecpumap
- Added documentation
Example:
$ virsh nodecpumap
CPUs present: 8
CPUs online: 3
CPU map: 10101000
Signed-off-by: Viktor Mihajlovski
---
tools/virsh-host.c | 41 +
tools/virsh.pod|5 +
2 files c
Added a method getCPUMapFlags to virConnect.
It can be used as follows:
import libvirt
import sys
import os
conn = libvirt.openReadOnly(None)
if conn == None:
print 'Failed to open connection to the hypervisor'
sys.exit(1)
try:
(cpus, cpumap, online) = conn.getCPUMapFlags(0)
except:
Driver support added for:
- test, pretending 8 host CPUS, 3 being online
- qemu, using nodeGetCPUMapFlags
Signed-off-by: Viktor Mihajlovski
---
src/qemu/qemu_driver.c |1 +
src/test/test_driver.c | 30 ++
2 files changed, 31 insertions(+), 0 deletions(-)
diff -
Added implementation of virNodeGetCPUMapFlags to libvirt.c
Signed-off-by: Viktor Mihajlovski
---
src/libvirt.c | 56
1 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index 3c6d67d..25c37d3 100
ping ...
在 2012-10-11四的 12:17 +0800,liguang写道:
> located at qemuMigrationConfirm
>
> Signed-off-by: liguang
> ---
> src/qemu/qemu_migration.c |4
> 1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
> index 6845a97.
ping ...
在 2012-10-11四的 12:17 +0800,liguang写道:
> original migration did not aware of offline case,
> so, try to support offline migration quietly
> (did not disturb original migration) by pass
> VIR_MIGRATE_OFFLINE flag to migration APIs if only
> the domain is really inactive, and
> migration pro
Added an implemention of virNodeGetCPUMapFlags to nodeinfo.c,
(nodeGetCPUMapFlags) which can be used by all drivers for a Linux
hypervisor host.
Signed-off-by: Viktor Mihajlovski
---
src/libvirt_private.syms |1 +
src/nodeinfo.c | 49 ++
There was a crash possible when both os.bootDevs[0] = VIR_DOMAIN_BOOT_DISK;
}
-bootstr = virXPathString("string(./os/bootmenu[1]/@enable)", ctxt);
-if (bootstr) {
-def->os.bootmenu = virDomainBootMenuTypeFromString(bootstr);
+tmp = virXPathString("string(./os/bootmenu[1]/@
On Tue, Oct 16, 2012 at 10:08:21AM +0200, Stefan Hajnoczi wrote:
> On Mon, Oct 15, 2012 at 10:25:58AM +0100, Daniel P. Berrange wrote:
> > On Mon, Oct 15, 2012 at 10:30:07AM +0200, Stefan Hajnoczi wrote:
> > > On Sat, Oct 13, 2012 at 04:47:14PM -0400, Laine Stump wrote:
> > > > Here is the sequence
On Tue, Oct 16, 2012 at 11:19:55AM +0200, Martin Kletzander wrote:
> There was a crash possible when both order... were specified due to virDomainDefParseBootXML() erroring out
> before setting *tmp (which was free'd in cleanup). As a fix, I
> created this cleanup that uses one pointer for all th
On 16.10.2012 11:19, Martin Kletzander wrote:
> There was a crash possible when both order... were specified due to virDomainDefParseBootXML() erroring out
> before setting *tmp (which was free'd in cleanup). As a fix, I
> created this cleanup that uses one pointer for all the temporary
> stored
On Mon, Oct 15, 2012 at 02:12:16PM -0600, Eric Blake wrote:
> As approved here:
> https://www.redhat.com/archives/libvir-list/2012-October/msg00701.html
>
> * daemon/libvirtd.policy.in: Use LGPLv2+ license.
> ---
>
> I'm waiting for an ack on this one - even though the change is only to
> comment
On 10/16/2012 11:48 AM, Michal Privoznik wrote:
> On 16.10.2012 11:19, Martin Kletzander wrote:
>> There was a crash possible when both > order... were specified due to virDomainDefParseBootXML() erroring out
>> before setting *tmp (which was free'd in cleanup). As a fix, I
>> created this cleanup
Now the vnc port in xml file reflects the REAL port hypervisor will
listen on for vnc connection. But vnc ports usually start from 5900,
it's common to say 0 for 5900, 1 for 5901, and so on.
This patch forbids negative vnc port number in xml, and maps port
number below 5900 to 5900+port, but no ch
On 10/16/2012 11:50 AM, Daniel P. Berrange wrote:
> On Tue, Oct 16, 2012 at 11:19:55AM +0200, Martin Kletzander wrote:
>> There was a crash possible when both > order... were specified due to virDomainDefParseBootXML() erroring out
>> before setting *tmp (which was free'd in cleanup). As a fix, I
On 10/16/2012 11:54 AM, Hu Tao wrote:
> Now the vnc port in xml file reflects the REAL port hypervisor will
> listen on for vnc connection. But vnc ports usually start from 5900,
> it's common to say 0 for 5900, 1 for 5901, and so on.
>
> This patch forbids negative vnc port number in xml, and map
On Tue, Oct 16, 2012 at 05:54:50PM +0800, Hu Tao wrote:
> Now the vnc port in xml file reflects the REAL port hypervisor will
> listen on for vnc connection. But vnc ports usually start from 5900,
> it's common to say 0 for 5900, 1 for 5901, and so on.
>
> This patch forbids negative vnc port numb
Add test for 280b8c9e7c94db1decdca08d169c88554c09fa19.
---
.../qemuxml2argv-boot-dev+order.xml| 56 ++
tests/qemuxml2argvtest.c | 3 ++
2 files changed, 59 insertions(+)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-boot-dev+
Make sure libvirt is build with sanlock >= 2.4 on distros that are new
enough to provide it.
---
libvirt.spec.in | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 75623eb..15c6b39 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -410,8 +410,14 @
libvirt started using sanlock_killpath to implement on_lockfailure
action. Since sanlock_killpath was introduced in sanlock 2.4, libvirt
fails to build with older sanlock.
---
configure.ac | 7 +++
src/locking/lock_driver_sanlock.c | 13 +
2 files changed, 20
On Tue, Oct 16, 2012 at 12:27:35 +0200, Martin Kletzander wrote:
> Add test for 280b8c9e7c94db1decdca08d169c88554c09fa19.
> ---
> .../qemuxml2argv-boot-dev+order.xml| 56
> ++
> tests/qemuxml2argvtest.c | 3 ++
> 2 files changed, 59 i
On 10/16/2012 01:36 PM, Jiri Denemark wrote:
> On Tue, Oct 16, 2012 at 12:27:35 +0200, Martin Kletzander wrote:
>> Add test for 280b8c9e7c94db1decdca08d169c88554c09fa19.
>> ---
>> .../qemuxml2argv-boot-dev+order.xml| 56
>> ++
>> tests/qemuxml2argvtest.c
On 10/16/2012 12:54 PM, Jiri Denemark wrote:
> libvirt started using sanlock_killpath to implement on_lockfailure
> action. Since sanlock_killpath was introduced in sanlock 2.4, libvirt
> fails to build with older sanlock.
> ---
> configure.ac | 7 +++
> src/locking/lock_
On 10/16/2012 12:55 PM, Jiri Denemark wrote:
> Make sure libvirt is build with sanlock >= 2.4 on distros that are new
> enough to provide it.
> ---
> libvirt.spec.in | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 75623eb..15c6b39 100644
>
On Thu, Oct 11, 2012 at 12:17:56PM +0800, liguang wrote:
> original migration did not aware of offline case,
> so, try to support offline migration quietly
> (did not disturb original migration) by pass
> VIR_MIGRATE_OFFLINE flag to migration APIs if only
> the domain is really inactive, and
> migr
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 feng wrote:
> >> this patch addes fuse support for libvirt lxc.
> >> we can use fuse filesystem to generate sysinfo dynamically,
> >> So we can i
libssh2 unfortunately doesn't support symbol versioning so RPM can't
figure out what version is needed for the currently installed libvirt
package. This patch adds a runtime requirement, so that the correct
version of libssh2 can be installed along with libvirt.
---
Diff to v1:
- be more specific w
On 16.10.2012 14:37, Peter Krempa wrote:
> libssh2 unfortunately doesn't support symbol versioning so RPM can't
> figure out what version is needed for the currently installed libvirt
> package. This patch adds a runtime requirement, so that the correct
> version of libssh2 can be installed along w
On Fri, Oct 05, 2012 at 01:25:51PM +0200, Michal Privoznik wrote:
> On 12.09.2012 18:28, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > Add two new APIs virLockSpaceNewPostExecRestart and
> > virLockSpacePreExecRestart which allow a virLockSpacePtr
> > object to be created from
Gao feng writes:
> 于 2012年10月15日 16:52, Michal Privoznik 写道:
>> On 15.10.2012 10:35, Gao feng wrote:
>>> we can use tc to limit container's network bandwidth when the container
>>> uses veth device.
>>> because one of the veth devices will be seen in the host.so we can set tc
>>> rules on this
From: "Jorge Boncompte [DTI2]"
Monitoring app can't otherwise differentiate between a stopped domain
or a nonexistent one.
Signed-off-by: Jorge Boncompte [DTI2]
---
src/libvirtSnmp.c | 186 +++--
1 file changed, 123 insertions(+), 63 deletions(-
Adding a new API to obtain information about the
host node's present, online and offline CPUs.
int virNodeGetCPUMapFlags(virConnectPtr conn,
unsigned char **cpumap,
unsigned int *online,
unsigned int flags);
The functio
New macro VIR_CPU_USED added to facilitate the interpretation of
cpu maps.
Further, hardened the other cpumap macros against invocations
like VIR_CPU_USE(cpumap + 1, cpu)
Signed-off-by: Viktor Mihajlovski
---
include/libvirt/libvirt.h.in | 20
1 files changed, 16 insertion
Resending the otherwise unmodified V2 series, as the cover letter didn't
show up on the mailing list (at least not in the archive).
Sorry for the extra traffic, but I have no clue what went wrong.
V2 Changes:
Added python binding for virNodeGetCPUMapFlags.
Removed RFC stanza.
Rationale:
In ord
Added a method getCPUMapFlags to virConnect.
It can be used as follows:
import libvirt
import sys
import os
conn = libvirt.openReadOnly(None)
if conn == None:
print 'Failed to open connection to the hypervisor'
sys.exit(1)
try:
(cpus, cpumap, online) = conn.getCPUMapFlags(0)
except:
- Added a new host command nodecpumap
- Added documentation
Example:
$ virsh nodecpumap
CPUs present: 8
CPUs online: 3
CPU map: 10101000
Signed-off-by: Viktor Mihajlovski
---
tools/virsh-host.c | 41 +
tools/virsh.pod|5 +
2 files c
Added implementation of virNodeGetCPUMapFlags to libvirt.c
Signed-off-by: Viktor Mihajlovski
---
src/libvirt.c | 56
1 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index 3c6d67d..25c37d3 100
Extend the driver structure by nodeGetCPUMapFlags entry in support of the
new API virNodeGetCPUMapFlags.
Signed-off-by: Viktor Mihajlovski
---
src/driver.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/driver.h b/src/driver.h
index bdcaa01..1af9568 100644
---
- Defined the wire protocol format for virNodeGetCPUMapFlags and its
arguments
- Implemented remote method invocation (remoteNodeGetCPUMapFlags)
- Implemented method dispacher (remoteDispatchNodeGetCPUMapFlags)
Signed-off-by: Viktor Mihajlovski
---
daemon/remote.c | 44 +
Driver support added for:
- test, pretending 8 host CPUS, 3 being online
- qemu, using nodeGetCPUMapFlags
Signed-off-by: Viktor Mihajlovski
---
src/qemu/qemu_driver.c |1 +
src/test/test_driver.c | 30 ++
2 files changed, 31 insertions(+), 0 deletions(-)
diff -
On 10/16/2012 03:48 AM, Daniel P. Berrange wrote:
> On Mon, Oct 15, 2012 at 02:12:16PM -0600, Eric Blake wrote:
>> As approved here:
>> https://www.redhat.com/archives/libvir-list/2012-October/msg00701.html
>>
>> * daemon/libvirtd.policy.in: Use LGPLv2+ license.
>> ---
>>
>> I'm waiting for an ack
On 10/16/2012 01:48 AM, Peter Krempa wrote:
> On 10/15/12 23:20, Eric Blake wrote:
>> Given Daniel's announcement[1], code targetting the next release will
>> be in 1.0.0, not 0.10.3. Changed mechanically with:
>>
>> for f in $(git grep -l '0\(.\)10\13\b') ; do
>> sed -i -e 's/0\(.\)10\13/1\10
On 10/16/2012 04:38 PM, Peter Krempa wrote:
> On 10/16/12 16:32, Martin Kletzander wrote:
>> There was a missing method in python implementation of domain-events
>> test and this patch adds that.
>> ---
>> examples/domain-events/events-python/event-test.py | 3 +++
>> 1 file changed, 3 insertion
There was a missing method in python implementation of domain-events
test and this patch adds that.
---
examples/domain-events/events-python/event-test.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/domain-events/events-python/event-test.py
b/examples/domain-events/events-pyth
On 10/16/12 16:32, Martin Kletzander wrote:
There was a missing method in python implementation of domain-events
test and this patch adds that.
---
examples/domain-events/events-python/event-test.py | 3 +++
1 file changed, 3 insertions(+)
ACK.
Peter
--
libvir-list mailing list
libvir-lis
On 10/13/2012 06:00 PM, Eric Blake wrote:
> Requiring pre-allocation was an unusual idiom. It allowed iteration
> over the backing chain to use fewer mallocs, but made one-shot
> clients harder to read. Also, this makes it easier for a future
> patch to move away from opening fds on every iterati
From: "Daniel P. Berrange"
Win32 platforms don't have SIGKILL defined, but they do have
SIGABRT. Since our virProcess wrapper treats anything which
isn't SIGTERM/SIGINT as equivalent to SIGKILL, just use
SIGABRT on Win32.
Pushed as a Win32 build break fix
Signed-off-by: Daniel P. Berrange
---
On 10/13/2012 06:00 PM, Eric Blake wrote:
> Previously, no one was using virStorageFileGetMetadata, and for good
> reason - it couldn't support root-squash NFS. Change the signature
> and make it useful to future patches, including enhancing the metadata
> to recursively track the entire chain.
>
On 16.10.2012 14:25, Jorge Boncompte [DTI2] wrote:
> From: "Jorge Boncompte [DTI2]"
>
> Monitoring app can't otherwise differentiate between a stopped domain
> or a nonexistent one.
>
> Signed-off-by: Jorge Boncompte [DTI2]
> ---
> src/libvirtSnmp.c | 186
> ++
On 10/16/2012 08:43 AM, Laine Stump wrote:
> On 10/13/2012 06:00 PM, Eric Blake wrote:
>> Previously, no one was using virStorageFileGetMetadata, and for good
>> reason - it couldn't support root-squash NFS. Change the signature
>> and make it useful to future patches, including enhancing the meta
On 10/13/2012 06:00 PM, Eric Blake wrote:
> In order to search for a backing file name as literally present
> in a chain, we need to remember if the chain had relative names.
> Also, searching for absolute names is easier if we only have
> to canonicalize once, rather than on every iteration.
>
> *
On 10/16/2012 08:47 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Win32 platforms don't have SIGKILL defined, but they do have
> SIGABRT. Since our virProcess wrapper treats anything which
> isn't SIGTERM/SIGINT as equivalent to SIGKILL, just use
> SIGABRT on Win32.
>
> Pushed a
On 10/16/2012 09:09 AM, Laine Stump wrote:
> On 10/13/2012 06:00 PM, Eric Blake wrote:
>> In order to search for a backing file name as literally present
>> in a chain, we need to remember if the chain had relative names.
>> Also, searching for absolute names is easier if we only have
>> to canonic
On 10/13/2012 04:00 PM, Eric Blake wrote:
> In order to temporarily label files read/write during a commit
> operation, we need to crawl the backing chain and find the absolute
> file name that needs labeling in the first place, as well as the
> name of the file that owns the backing file.
>
> +
On 10/13/2012 06:00 PM, Eric Blake wrote:
> In order to temporarily label files read/write during a commit
> operation, we need to crawl the backing chain and find the absolute
> file name that needs labeling in the first place, as well as the
> name of the file that owns the backing file.
>
> * sr
On 10/16/2012 10:58 AM, Eric Blake wrote:
> On 10/16/2012 08:43 AM, Laine Stump wrote:
>> On 10/13/2012 06:00 PM, Eric Blake wrote:
>>> Previously, no one was using virStorageFileGetMetadata, and for good
>>> reason - it couldn't support root-squash NFS. Change the signature
>>> and make it useful
On 10/16/2012 09:55 AM, Laine Stump wrote:
> On 10/13/2012 06:00 PM, Eric Blake wrote:
>> In order to temporarily label files read/write during a commit
>> operation, we need to crawl the backing chain and find the absolute
>> file name that needs labeling in the first place, as well as the
>> name
On 10/13/2012 03:59 PM, Eric Blake wrote:
> When an image has no backing file, using VIR_STORAGE_FILE_AUTO
> for its type is a bit confusing. Additionally, a future patch
> would like to reserve a default value for the case of no file
> type specified in the XML, but different from the current use
On 10/16/2012 12:06 PM, Eric Blake wrote:
> On 10/16/2012 09:55 AM, Laine Stump wrote:
>> On 10/13/2012 06:00 PM, Eric Blake wrote:
>>> In order to temporarily label files read/write during a commit
>>> operation, we need to crawl the backing chain and find the absolute
>>> file name that needs lab
This series adds command line file descriptor passing support
via a new -add-fd option. This is a follow-on to the existing
QMP fd passing support provided in the following patch series:
comments.gmane.org/gmane.comp.emulators.qemu/165463
The new -add-fd option is designed to mirror the add-fd QM
This option can be used for passing file descriptors on the
command line. It mirrors the existing add-fd QMP command which
allows an fd to be passed to QEMU via SCM_RIGHTS and added to an
fd set.
This can be combined with commands such as -drive to link file
descriptors in an fd set to a drive:
The first call to add an fd to an fd set was previously not
allowed to choose the fd set ID. The ID was generated as
the first available and ensuing calls could add more fds by
specifying the fd set ID. This change allows users to
choose the fd set ID on the first call.
Signed-off-by: Corey Brya
If an fd is added to an fd set via the command line, and it is not
referenced by another command line option (ie. -drive), then clean
it up after QEMU initialization is complete.
Signed-off-by: Corey Bryant
---
v3:
- This patch was split into it's own patch in v3
(ebl...@redhat.com, kw...@r
qmp_add_fd() gets an fd that was received over a socket with
SCM_RIGHTS and adds it to an fd set. This patch adds support
that will enable adding an fd that was inherited on the
command line to an fd set.
Note: All of the code added to monitor_fdset_add_fd(), with the
exception of the error path
On 10/13/2012 06:00 PM, Eric Blake wrote:
> Technically, we should not be re-probing any file that qemu might
> be currently writing to. As such, we should cache the backing
> file chain prior to starting qemu. This patch adds the cache,
> but does not use it until the next patch.
>
> Ultimately,
On 10/15/2012 03:03 AM, Guannan Ren wrote:
> BZ:https://bugzilla.redhat.com/show_bug.cgi?id=851981
> When using macvtap, a character device gets first created by
> kernel with name /dev/tapN, its selinux context is:
> system_u:object_r:device_t:s0
>
> Shortly, when udev gets notification when new
On 10/16/2012 11:51 AM, Corey Bryant wrote:
> This series adds command line file descriptor passing support
> via a new -add-fd option. This is a follow-on to the existing
> QMP fd passing support provided in the following patch series:
> comments.gmane.org/gmane.comp.emulators.qemu/165463
>
> Th
On 10/16/2012 03:26 PM, Eric Blake wrote:
On 10/16/2012 11:51 AM, Corey Bryant wrote:
This series adds command line file descriptor passing support
via a new -add-fd option. This is a follow-on to the existing
QMP fd passing support provided in the following patch series:
comments.gmane.org/g
On 10/16/2012 01:02 PM, Laine Stump wrote:
> On 10/13/2012 06:00 PM, Eric Blake wrote:
>> Technically, we should not be re-probing any file that qemu might
>> be currently writing to. As such, we should cache the backing
>> file chain prior to starting qemu. This patch adds the cache,
>> but does
On Tue, Oct 16, 2012 at 14:06:58 +0200, Martin Kletzander wrote:
> On 10/16/2012 12:54 PM, Jiri Denemark wrote:
> > libvirt started using sanlock_killpath to implement on_lockfailure
> > action. Since sanlock_killpath was introduced in sanlock 2.4, libvirt
> > fails to build with older sanlock.
> >
On Tue, Oct 16, 2012 at 14:07:14 +0200, Martin Kletzander wrote:
> On 10/16/2012 12:55 PM, Jiri Denemark wrote:
> > Make sure libvirt is build with sanlock >= 2.4 on distros that are new
> > enough to provide it.
> > ---
> > libvirt.spec.in | 6 ++
> > 1 file changed, 6 insertions(+)
>
> ACK,
On 10/16/2012 12:05 PM, Corey Bryant wrote:
> The first call to add an fd to an fd set was previously not
> allowed to choose the fd set ID. The ID was generated as
> the first available and ensuing calls could add more fds by
> specifying the fd set ID. This change allows users to
> choose the f
On 10/16/12 14:58, Michal Privoznik wrote:
On 16.10.2012 14:37, Peter Krempa wrote:
libssh2 unfortunately doesn't support symbol versioning so RPM can't
figure out what version is needed for the currently installed libvirt
package. This patch adds a runtime requirement, so that the correct
versi
On 10/13/2012 06:00 PM, Eric Blake wrote:
> We used to walk the backing file chain at least twice per disk,
> once to set up cgroup device whitelisting, and once to set up
> security labeling. Rather than walk the chain every iteration,
> which possibly includes calls to fork() in order to open ro
On 10/16/2012 12:08 PM, Corey Bryant wrote:
> qmp_add_fd() gets an fd that was received over a socket with
> SCM_RIGHTS and adds it to an fd set. This patch adds support
> that will enable adding an fd that was inherited on the
> command line to an fd set.
>
> Note: All of the code added to monit
On 10/16/2012 04:07 PM, Eric Blake wrote:
> On 10/16/2012 01:02 PM, Laine Stump wrote:
>> On 10/13/2012 06:00 PM, Eric Blake wrote:
>>> Technically, we should not be re-probing any file that qemu might
>>> be currently writing to. As such, we should cache the backing
>>> file chain prior to starti
On 10/16/2012 02:51 PM, Laine Stump wrote:
> On 10/13/2012 06:00 PM, Eric Blake wrote:
>> We used to walk the backing file chain at least twice per disk,
>> once to set up cgroup device whitelisting, and once to set up
>> security labeling. Rather than walk the chain every iteration,
>> which poss
On 10/13/2012 06:00 PM, Eric Blake wrote:
> qemu 1.3 will be adding a 'block-commit' monitor command, per
> qemu.git commit ed61fc1. It matches nicely to the libvirt API
> virDomainBlockCommit.
Hmm. Imagine that. What serendipity. I wonder how that could have
happened. etc :-)
>
> * src/qemu
On 10/16/2012 03:18 PM, Laine Stump wrote:
> On 10/13/2012 06:00 PM, Eric Blake wrote:
>> qemu 1.3 will be adding a 'block-commit' monitor command, per
>> qemu.git commit ed61fc1. It matches nicely to the libvirt API
>> virDomainBlockCommit.
>
> Hmm. Imagine that. What serendipity. I wonder how t
The previous commit was incomplete. We need to also add explicit
Requires for the newer version since RPM's automatic dependencies won't
work with sanlock.
---
libvirt.spec.in | 4
1 file changed, 4 insertions(+)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 15c6b39..a0dc560 100644
--
On 10/16/12 23:55, Jiri Denemark wrote:
The previous commit was incomplete. We need to also add explicit
Requires for the newer version since RPM's automatic dependencies won't
work with sanlock.
---
libvirt.spec.in | 4
1 file changed, 4 insertions(+)
ACK.
Peter
--
libvir-list maili
On Tue, Oct 16, 2012 at 23:59:51 +0200, Peter Krempa wrote:
> On 10/16/12 23:55, Jiri Denemark wrote:
> > The previous commit was incomplete. We need to also add explicit
> > Requires for the newer version since RPM's automatic dependencies won't
> > work with sanlock.
> > ---
> > libvirt.spec.in
I finally have all the pieces in place to perform a block-commit with
SELinux enforcing. There's still missing cleanup work when the commit
completes, but doing that requires tracking both the backing chain and
the base and top files within that chain in domain XML across libvirtd
restarts.
* src
Previously, snapshot code did its own permission granting (lock
manager, cgroup device controller, and security manager labeling)
inline. But now that we are adding block-commit and block-copy
which also have to change permissions, it's better to reuse
common code for the task. While snapshot sho
Hey Dan,
This commit changes the behavior of LIBVIRT_DEBUG=1 libvirtd:
$ git show 7022b09111d4322d21396a70d58320a9ad773962
commit 7022b09111d4322d21396a70d58320a9ad773962
Author: Daniel P. Berrange
Date: Thu Sep 27 13:13:09 2012 +0100
Automatically enable systemd journal logging
Prob
Before:
$ sudo virsh vol-create-as --pool vgvirt sparsetest --capacity 16M --allocation 0
error: Failed to create vol sparsetest
error: internal error Child process (/usr/sbin/lvchange -aln vgvirt/sparsetest)
unexpected exit status 5: One or more specified logical volume(s) not found.
After:
$
On F17 at least, this command fails:
$ sudo /usr/sbin/lvcreate --name sparsetest -L 0K --virtualsize 16384K vgvirt
Unable to create new logical volume with no extents
Which is unfortunate since allocation=0 is what virt-manager tries to use
by default.
Rather than telling the user 'don't do th
在 2012-10-16二的 13:19 +0100,Daniel P. Berrange写道:
> On Thu, Oct 11, 2012 at 12:17:56PM +0800, liguang wrote:
> > original migration did not aware of offline case,
> > so, try to support offline migration quietly
> > (did not disturb original migration) by pass
> > VIR_MIGRATE_OFFLINE flag to migrati
On 10/13/2012 04:00 PM, Eric Blake wrote:
> Actually use the enum in the domain conf structure.
>
> * src/conf/domain_conf.h (_virDomainDiskDef): Store enum rather
> than string for disk type.
> * src/conf/domain_conf.c (virDomainDiskDefFree)
> (virDomainDiskDefParseXML, virDomainDiskDefFormat)
>
1 - 100 of 112 matches
Mail list logo