[libvirt] [PATCH] man: virsh: Add 'vcpu_period' and 'vcpu_quota' support info for LXC

2014-08-18 Thread Li Yang
Signed-off-by: Li Yang liyang.f...@cn.fujitsu.com --- tools/virsh.pod |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index f07deec..a2d89b2 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -1570,7 +1570,7 @@ Idomain Allows you to

Re: [libvirt] [PATCH] man: virsh: Add man page for virsh metadata

2014-08-18 Thread Peter Krempa
On 08/15/14 18:22, Eric Blake wrote: On 08/15/2014 09:12 AM, Peter Krempa wrote: Patch adding the command forgot to add the man page entry. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1130379 --- tools/virsh.pod | 30 ++ 1 file changed, 30

Re: [libvirt] [libvirt-glib] [PATCH 1/4] GVirDomain: Fix some doc comments of the snapshot API

2014-08-18 Thread Christophe Fergeau
Hey, On Fri, Aug 15, 2014 at 12:05:44PM +0200, Timm Bäder wrote: Fixes some warnings from g-ir-scanner. --- libvirt-gobject/libvirt-gobject-domain.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libvirt-gobject/libvirt-gobject-domain.c

Re: [libvirt] [libvirt-glib] [PATCH 2/4] GVirDomainSnapshot: Add async version of _revert_to

2014-08-18 Thread Christophe Fergeau
On Fri, Aug 15, 2014 at 12:05:45PM +0200, Timm Bäder wrote: --- libvirt-gobject/libvirt-gobject-domain-snapshot.c | 56 +++ libvirt-gobject/libvirt-gobject-domain-snapshot.h | 10 libvirt-gobject/libvirt-gobject.sym | 2 + 3 files changed, 68

Re: [libvirt] [libvirt-glib] [PATCH 3/4] GVirDomain: Add async version of _create_snapshot

2014-08-18 Thread Christophe Fergeau
On Fri, Aug 15, 2014 at 12:05:46PM +0200, Timm Bäder wrote: --- libvirt-gobject/libvirt-gobject-domain.c | 67 libvirt-gobject/libvirt-gobject-domain.h | 11 ++ libvirt-gobject/libvirt-gobject.sym | 2 + 3 files changed, 80 insertions(+) diff

Re: [libvirt] [libvirt-glib] [PATCH 4/4] GVirDomainSnapshot: Add async version of _delete

2014-08-18 Thread Christophe Fergeau
On Fri, Aug 15, 2014 at 12:05:47PM +0200, Timm Bäder wrote: --- libvirt-gobject/libvirt-gobject-domain-snapshot.c | 56 +++ libvirt-gobject/libvirt-gobject-domain-snapshot.h | 9 libvirt-gobject/libvirt-gobject.sym | 2 + 3 files changed, 67

Re: [libvirt] [PATCHv3] qemu: Redundant listen address entry in quest xml

2014-08-18 Thread Ján Tomko
On 08/15/2014 01:50 PM, Erik Skultety wrote: When editing guest's XML (on QEMU), it was possible to add multiple listen elements into graphics parent element. However QEMU does not support listening on multiple addresses. Configuration is tested for multiple 'listen address' and if positive,

Re: [libvirt] [libvirt-glib] [PATCH 1/4] GVirDomain: Fix some doc comments of the snapshot API

2014-08-18 Thread Timm Bäder
On 18.08, Christophe Fergeau wrote: Hey, On Fri, Aug 15, 2014 at 12:05:44PM +0200, Timm Bäder wrote: /** - * + * gvir_domain_fetch_snapshots_async: * @dom: The domain * @list_flags: bitwise-OR of #GVirDomainSnapshotListFlags - * @cancellable: (allow-none)(transfer-none):

Re: [libvirt] [PATCH] man: virsh: Add 'vcpu_period' and 'vcpu_quota' support info for LXC

2014-08-18 Thread Ján Tomko
On 08/18/2014 10:29 AM, Li Yang wrote: Signed-off-by: Li Yang liyang.f...@cn.fujitsu.com --- tools/virsh.pod |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index f07deec..a2d89b2 100644 --- a/tools/virsh.pod +++

Re: [libvirt] [PATCH] man: virsh: Add man page for virsh metadata

2014-08-18 Thread Eric Blake
On 08/18/2014 02:36 AM, Peter Krempa wrote: Looks good, but one suggestion (possibly as a followup patch): I think =item Bdesc and =item Bmetadata should have cross-references to one another, since we now have two separate virsh commands that both map to the same underlying libvirt API.

[libvirt] [PATCH] virsh: man: Crosslink desc and metadata sections

2014-08-18 Thread Peter Krempa
Those two commands work with a single API so cross-link them. --- tools/virsh.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index d072a7f..da68c08 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -656,6 +656,7 @@ effect on the

Re: [libvirt] [PATCH] virsh: man: Crosslink desc and metadata sections

2014-08-18 Thread Eric Blake
On 08/18/2014 08:49 AM, Peter Krempa wrote: Those two commands work with a single API so cross-link them. --- tools/virsh.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ACK. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org

Re: [libvirt] [PATCH 1/5] xen: rename xenxs to xenconfig

2014-08-18 Thread Eric Blake
On 08/15/2014 09:50 PM, Jim Fehlig wrote: src/xenxs contains parsing/formating functions for the various xen s/formating/formatting/ config formats, and is better named src/xenconfig. Signed-off-by: Jim Fehlig jfeh...@suse.com --- cfg.mk | 2

[libvirt] [PATCH v3 2/3] qemu: Implement extended loader and nvram

2014-08-18 Thread Michal Privoznik
QEMU now supports UEFI with the following command line: -drive file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \ -drive file=/usr/share/OVMF/OVMF_VARS.fd,if=pflash,format=raw,unit=1 \ where the first line reflects loader and the second one nvram. Moreover, these

[libvirt] [PATCH v3 3/3] qemu: Automatically create NVRAM store

2014-08-18 Thread Michal Privoznik
When using split UEFI image, it may come handy if libvirt manages per domain _VARS file automatically. While the _CODE file is RO and can be shared among multiple domains, you certainly don't want to do that on the _VARS file. This latter one needs to be per domain. So at the domain startup

[libvirt] [PATCH v3 1/3] conf: Extend loader/ and introduce nvram/

2014-08-18 Thread Michal Privoznik
Up to now, users can configure BIOS via the loader/ element. With the upcoming implementation of UEFI this is not enough as BIOS and UEFI are conceptually different. For instance, while BIOS is ROM, UEFI is programmable flash (although all writes to code section are denied). Therefore we need new

[libvirt] [PATCH v3 0/3] OVMF exposure

2014-08-18 Thread Michal Privoznik
diff to v2: -Adapted to Laszlo's review on v2 Michal Privoznik (3): conf: Extend loader/ and introduce nvram/ qemu: Implement extended loader and nvram qemu: Automatically create NVRAM store docs/formatdomain.html.in | 19 ++- docs/schemas/domaincommon.rng

Re: [libvirt] [PATCH] virsh: man: Crosslink desc and metadata sections

2014-08-18 Thread Peter Krempa
On 08/18/14 17:05, Eric Blake wrote: On 08/18/2014 08:49 AM, Peter Krempa wrote: Those two commands work with a single API so cross-link them. --- tools/virsh.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ACK. Pushed; Thanks. Peter signature.asc Description: OpenPGP

Re: [libvirt] [PATCH 2/5] src/xenconfig: wrap common parsing code

2014-08-18 Thread Eric Blake
On 08/15/2014 09:50 PM, Jim Fehlig wrote: From: Kiarie Kahurani davidkiar...@gmail.com Wrap parsing code common to xm and xl in xenParseConfigCommon and export it. Signed-off-by: Kiarie Kahurani davidkiar...@gmail.com Signed-off-by: Jim Fehlig jfeh...@suse.com ---

Re: [libvirt] [PATCHv2 libvirt] qemu: Issue rtc-reset-reinjection command after guest-set-time

2014-08-18 Thread Eric Blake
On 08/14/2014 02:24 AM, Michal Privoznik wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1103245 An advice appeared there on the qemu-devel list [1]. When a domain is suspended and then resumed guest kernel is not aware of this. So we've introduced virDomainSetTime API that resets the

Re: [libvirt] [PATCH 3/5] src/xenconfig: wrap common formatting code

2014-08-18 Thread Eric Blake
On 08/15/2014 09:50 PM, Jim Fehlig wrote: From: Kiarie Kahurani davidkiar...@gmail.com Wrap formatting code common to xm and xl in xenFormatConfigCommon and export it. Signed-off-by: Kiarie Kahurani davidkiar...@gmail.com Signed-off-by: Jim Fehlig jfeh...@suse.com ---

Re: [libvirt] [PATCH 0/5] Fix vcpu pinning info propagation on vcpu cold-unplug

2014-08-18 Thread Ján Tomko
On 08/15/2014 04:49 PM, Peter Krempa wrote: Remove the vcpupin info on cold cpuunplug. Also refactor a few unpleasant-to-look-at functions found while looking for the problem. Peter Krempa (5): qemu: process: Remove unnecessary argument and rename function conf: cpupin: Remove

Re: [libvirt] [PATCH 0/5] Fix vcpu pinning info propagation on vcpu cold-unplug

2014-08-18 Thread Peter Krempa
On 08/18/14 17:39, Ján Tomko wrote: On 08/15/2014 04:49 PM, Peter Krempa wrote: Remove the vcpupin info on cold cpuunplug. Also refactor a few unpleasant-to-look-at functions found while looking for the problem. Peter Krempa (5): qemu: process: Remove unnecessary argument and rename

Re: [libvirt] [PATCH 4/5] src/xenconfig: remove dead code

2014-08-18 Thread Eric Blake
On 08/15/2014 09:50 PM, Jim Fehlig wrote: Signed-off-by: Jim Fehlig jfeh...@suse.com --- src/xenconfig/xen_xm.c | 5 - 1 file changed, 5 deletions(-) diff --git a/src/xenconfig/xen_xm.c b/src/xenconfig/xen_xm.c index 0402213..83cc8c6 100644 --- a/src/xenconfig/xen_xm.c +++

Re: [libvirt] [PATCH 5/5] src/xenconfig: move common parsing/formatting to xen_common

2014-08-18 Thread Eric Blake
On 08/15/2014 09:50 PM, Jim Fehlig wrote: XM and XL config are very similar. Disks are specified differently in XL, but the old XM disk config is still supported by XL. XL also supports new config like spice that was never supported by XM. This patch moves all the common parsing and

Re: [libvirt] [PATCHv2 libvirt] qemu: Issue rtc-reset-reinjection command after guest-set-time

2014-08-18 Thread Michal Privoznik
On 18.08.2014 17:28, Eric Blake wrote: On 08/14/2014 02:24 AM, Michal Privoznik wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1103245 An advice appeared there on the qemu-devel list [1]. When a domain is suspended and then resumed guest kernel is not aware of this. So we've introduced

[libvirt] [PREPOST] XL parser

2014-08-18 Thread Kiarie Kahurani
Kiarie Kahurani (1): src/xenconfig: XL parser po/POTFILES.in| 1 + src/Makefile.am | 3 +- src/libvirt_xenconfig.syms| 5 + src/libxl/libxl_driver.c | 44 ++-

[libvirt] [PREPOST] src/xenconfig: XL parser

2014-08-18 Thread Kiarie Kahurani
Introduce the new xen-xl parser that {formats,parses} xl disk and spice graphics format Signed-off-by: Kiarie Kahurani davidkiar...@gmail.com --- po/POTFILES.in| 1 + src/Makefile.am | 3 +- src/libvirt_xenconfig.syms

[libvirt] Automatically affinitize hostdev interrupts to vm vCpus (qemu/kvm)

2014-08-18 Thread Mooney, Sean K
Hi I would like to ask for comments and propose a possible new libvirt feature. Problem statement: At present when you boot a vm via libvirt it is possible to pin vm vCPUs to host CPUs to improve performance in the guest under certain conditions. If hostdev interrupts are not pined to a

Re: [libvirt] Virtual box storage and network sub-drivers

2014-08-18 Thread Taowei Luo
It seems I can make the vbox driver work by changing the registration order in daemonInitialze. So, I can do test with it for now. But I still don't understand why libvirt keep the vbox network and storage driver. I don't find anyway else than libvirtd that uses vbox driver. Meanwhile, the

[libvirt] sVirt adequate protection when guest hugepages option enabled?

2014-08-18 Thread bancfc
Hi I've been looking at enabling hugepages for guests and came across the note that SELinux was not able to handle their confinement properly back then: https://fedoraproject.org/wiki/Features/KVM_Huge_Page_Backed_Memory#Current_status Was this ever resolved? Does sVirt provide adequate

Re: [libvirt] [PATCH 4/5] src/xenconfig: remove dead code

2014-08-18 Thread Jim Fehlig
On 08/18/2014 10:03 AM, Eric Blake wrote: On 08/15/2014 09:50 PM, Jim Fehlig wrote: Signed-off-by: Jim Fehlig jfeh...@suse.com --- src/xenconfig/xen_xm.c | 5 - 1 file changed, 5 deletions(-) diff --git a/src/xenconfig/xen_xm.c b/src/xenconfig/xen_xm.c index 0402213..83cc8c6 100644 ---

Re: [libvirt] [PATCH 5/5] src/xenconfig: move common parsing/formatting to xen_common

2014-08-18 Thread Jim Fehlig
On 08/18/2014 10:10 AM, Eric Blake wrote: On 08/15/2014 09:50 PM, Jim Fehlig wrote: XM and XL config are very similar. Disks are specified differently in XL, but the old XM disk config is still supported by XL. XL also supports new config like spice that was never supported by XM. This patch