Re: [libvirt] [PATCH 1/2] apparmor: Allow access to filesystem mounts

2014-03-09 Thread Felix Geyer
Hi, Sorry for the delay. On 28.02.2014 21:36, Serge Hallyn wrote: Hi, a separate patch was posted to a new launchpad bug which does a bit more sanity checking on the values passed in, so I went ahead and merged the two. I did however notice that there is no Signed-off-by for Felix.

[libvirt] [PATCH] virt-aa-helper: handle 9pfs

2014-03-09 Thread Felix Geyer
Make virt-aa-helper create rules to allow VMs access to filesystem mounts from the host. Signed-off-by: Felix Geyer de...@fobos.de Signed-off-by: Hiroshi Miura miur...@linux.com Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com --- src/security/virt-aa-helper.c | 32

[libvirt] How to detect if qemu supports discard?

2014-03-09 Thread Richard W.M. Jones
from src/qemu/qemu_command.c: if (disk-discard) { if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_DRIVE_DISCARD)) { virBufferAsprintf(opt, ,discard=%s, virDomainDiskDiscardTypeToString(disk-discard)); } else {

[libvirt] [PATCH] qemu: Advertize drivediscard/ in capabilities if 'discard' is supported.

2014-03-09 Thread Richard W.M. Jones
The capabilities will have a drivediscard/ feature if you are allowed to use the qemu attribute: driver name='qemu' ... discard='unmap|ignore' / The new capabilities XML looks like this: capabiltiies ... guest os_typehvm/os_type ... features drivediscard/ /features

[libvirt] [PATCH] qemu: Advertise qcow2discard/ in capabilities if discard works for qcow2 backing files.

2014-03-09 Thread Richard W.M. Jones
Qemu since 1.5 supports discard. However until qemu 1.6 it didn't work for qcow2 files. Ref: http://wiki.qemu.org/ChangeLog/1.5 http://wiki.qemu.org/ChangeLog/1.6 If qemu = 1.6, add this to guest capabilities: features drivediscard/ qcow2discard/ --- /features ---

Re: [libvirt] [PATCH] qemu: Advertize drivediscard/ in capabilities if 'discard' is supported.

2014-03-09 Thread Richard W.M. Jones
On Sun, Mar 09, 2014 at 04:53:59PM +, Richard W.M. Jones wrote: capabiltiies I'm going to post a v2 of this patch with spelling mistakes fixed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines.

[libvirt] [PATCH v2] qemu: Advertise drivediscard/ in capabilities if 'discard' is supported.

2014-03-09 Thread Richard W.M. Jones
The capabilities will have a drivediscard/ feature if you are allowed to use the qemu attribute: driver name='qemu' ... discard='unmap|ignore' / The new capabilities XML looks like this: capabilities ... guest os_typehvm/os_type ... features drivediscard/ /features

Re: [libvirt] How to detect if qemu supports discard?

2014-03-09 Thread Martin Kletzander
On Sun, Mar 09, 2014 at 03:23:25PM +, Richard W.M. Jones wrote: from src/qemu/qemu_command.c: if (disk-discard) { if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_DRIVE_DISCARD)) { virBufferAsprintf(opt, ,discard=%s,

Re: [libvirt] [bug-report] libvirtd can't be connected by using the master branch with lots of VMs

2014-03-09 Thread Wangpan
Please try out this patch https://www.redhat.com/archives/libvir-list/2014-March/msg00501.html I have tested this patch on master branch, and it works OK now, thanks Daniel ! 2014-03-10 Wangpan -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCH v5 0/3] support dumping guest memory in compressed format

2014-03-09 Thread qiaonuo...@cn.fujitsu.com
ping... On 03/06/2014 05:35 PM, Qiao, Nuohan/乔 诺涵 wrote: dumping guest's memroy is introduced without compression supported, and this is a freature regression of 'virsh dump --memory-only'. This patchset is used to add support in libvirt side to make qemu dump guest's memory in