Hi all,
This patchset adds an option for KVM guests to retain arbitrary capabilities.
I want KVM guests to retain "cap_sys_rawio" capability, so I tried to
run qemu as root user. However because libvirt clears all capability
of KVM guest by default, even if guest is running as root user,
it does
On Mon, Dec 19, 2011 at 05:42:02PM -0700, Eric Blake wrote:
> From: Hu Tao
>
> ---
> src/qemu/qemu_driver.c | 262
>
> 1 files changed, 262 insertions(+), 0 deletions(-)
>
> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
> index 6
Hi Eric,
Will you look at the code in xdr_remote_typed_param_value() in
file sre/remote/remote_protocol.c that processes
VIR_TYPED_PARAM_INT? It looks odd and I'm sure it's the cause
of the bug you mentioned.
switch (objp->type) {
case VIR_TYPED_PARAM_INT:
re
On 12/19/2011 08:13 PM, Eric Blake wrote:
> On 12/19/2011 05:42 PM, Eric Blake wrote:
>> From: Hu Tao
>>
>> ---
>> daemon/remote.c | 64
>> ++
>> src/remote/remote_driver.c | 50
>> src/remote/remote_prot
On 2011年12月20日 02:51, Eric Blake wrote:
On 12/19/2011 11:38 AM, Eric Blake wrote:
On 12/19/2011 04:01 AM, Osier Yang wrote:
Since for node, the values for attrs "domain", "bus", "slot",
"function" are all converted to heximal when parsing the XML. However
commit ea7182c29 tries to examine if th
On 12/19/2011 05:42 PM, Eric Blake wrote:
> From: Hu Tao
>
> ---
> daemon/remote.c | 64
> ++
> src/remote/remote_driver.c | 50
> src/remote/remote_protocol.x | 24 +++-
> src/remote_proto
Currently non-x86 guests must have defined in to
prevent libvirt from running qemu with -no-acpi. Although it works, it
is a hack.
Instead add a capability flag which indicates whether qemu understands
the -no-acpi option. Use it to control whether libvirt emits -no-acpi.
Current versions of qe
From: Hu Tao
add new command numatune to virsh to get/set numa parameters
---
tools/virsh.c | 159 +++
tools/virsh.pod | 19 +++
2 files changed, 178 insertions(+), 0 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index 583ec
From: Hu Tao
Set up the types for the numa functions and insert them into the
virDriver structure definition.
---
include/libvirt/libvirt.h.in | 39 +
python/generator.py |2 +
src/conf/domain_conf.h |8 ---
src/driver.h | 15 +
src/libv
From: Hu Tao
---
daemon/remote.c | 64 ++
src/remote/remote_driver.c | 50
src/remote/remote_protocol.x | 24 +++-
src/remote_protocol-structs | 22 ++
4 files changed, 159 in
From: Hu Tao
---
src/qemu/qemu_driver.c | 262
1 files changed, 262 insertions(+), 0 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 660d771..3f8167f 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.
From: Hu Tao
This patch also sets cgroup cpuset parameters for numatune.
---
src/qemu/qemu_cgroup.c | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
index d663798..2d970d6 100644
--- a/src/qemu/qemu_cgroup
From: Hu Tao
---
src/libvirt_private.syms |2 ++
src/util/cgroup.c| 32
src/util/cgroup.h|3 +++
3 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index a649054..4a86bdc 1
Not quite polished - see my complaints that will require a v5:
https://www.redhat.com/archives/libvir-list/2011-December/msg00843.html
I'm hoping Hu can help cover the remaining points, as I've already
spent quite a bit of time cleaning it up to here.
Hu Tao (6):
Add functions to set/get cgroup
On 12/19/2011 10:16 AM, Daniel P. Berrange wrote:
> On Thu, Dec 15, 2011 at 06:50:14PM +0800, Hu Tao wrote:
>> This series adds a new command numatune to get/set numatune parameters.
>>
>> Besides libnuma, cpuset cgroup parameters are also set according to
>> numatune parameters. But for now, only
On 12/19/2011 04:57 PM, Peter Krempa wrote:
> Dňa 20.12.2011 0:08, Eric Blake wrote / napísal(a):
>> No need to repeat code for formatting typed parameters.
>>
>> * tools/virsh.c (vshGetTypedParamValue): Support strings.
>> (cmdSchedinfo, cmdBlkiotune, cmdMemtune, cmdBlkdeviotune): Use
>> it for l
Dňa 20.12.2011 0:08, Eric Blake wrote / napísal(a):
No need to repeat code for formatting typed parameters.
* tools/virsh.c (vshGetTypedParamValue): Support strings.
(cmdSchedinfo, cmdBlkiotune, cmdMemtune, cmdBlkdeviotune): Use
it for less code.
---
tools/virsh.c | 134 +
On 12/15/2011 03:50 AM, Hu Tao wrote:
> ---
> tools/virsh.pod | 13 +
> 1 files changed, 13 insertions(+), 0 deletions(-)
This should be squashed in with 7/8.
>
> diff --git a/tools/virsh.pod b/tools/virsh.pod
> index c468f13..91baf4d 100644
> --- a/tools/virsh.pod
> +++ b/tools/v
On 12/15/2011 03:50 AM, Hu Tao wrote:
> add new command numatune to virsh to get/set numa parameters
> ---
> tools/virsh.c | 181
> +
> 1 files changed, 181 insertions(+), 0 deletions(-)
>
> diff --git a/tools/virsh.c b/tools/virsh.c
> ind
No need to repeat code for formatting typed parameters.
* tools/virsh.c (vshGetTypedParamValue): Support strings.
(cmdSchedinfo, cmdBlkiotune, cmdMemtune, cmdBlkdeviotune): Use
it for less code.
---
tools/virsh.c | 134 +
1 files changed, 2
While debugging a PolicyKit issue I noticed that libvirt would proceed
with authentication even though polkit-auth failed:
testusr@xen134:~> virsh list --all
Attempting to obtain authorization for org.libvirt.unix.manage.
polkit-grant-helper: given auth type (8 -> yes) is bogus
Failed to obtain au
On Tue, 2011-12-13 at 10:39 +1100, Michael Ellerman wrote:
> For QEMU PPC64 we have a machine type ("pseries") which has a virtual
> bus called "spapr-vio". We need to be able to create devices on this
> bus, and as such need a way to specify the address for those devices.
>
> This patch adds a ne
On 12/19/2011 12:21 PM, Daniel P. Berrange wrote:
> On Mon, Dec 19, 2011 at 12:12:31PM -0700, Eric Blake wrote:
>> Even though we technically don't support (as in,
>> if you mis-use things, you get to keep the pieces), we should at
>> least document how to use it.
>>
>> * docs/drvqemu.html.in (qem
Please remember to Cc: the libvirt list as well so that others may contribute to
the discussion.
On Sat, Dec 17, 2011 at 12:58:58AM +0800, ShaoHe Feng wrote:
> From: ShaoHe Feng
>
> Basically, this feature can go along with qemu monitor passthrough.
> That way, if we use new commands in the mon
On Mon, Dec 19, 2011 at 12:12:31PM -0700, Eric Blake wrote:
> Even though we technically don't support (as in,
> if you mis-use things, you get to keep the pieces), we should at
> least document how to use it.
>
> * docs/drvqemu.html.in (qemucommand): New section.
> ---
>
> I wrote this in respo
Even though we technically don't support (as in,
if you mis-use things, you get to keep the pieces), we should at
least document how to use it.
* docs/drvqemu.html.in (qemucommand): New section.
---
I wrote this in response to an IRC comment lamenting that the only
existing documentation was rea
On 12/19/2011 11:38 AM, Eric Blake wrote:
> On 12/19/2011 04:01 AM, Osier Yang wrote:
>> Since for node , the values for attrs "domain", "bus", "slot",
>> "function" are all converted to heximal when parsing the XML. However
>> commit ea7182c29 tries to examine if the device represented by the XML
On 12/19/2011 02:47 AM, Osier Yang wrote:
> On 2011年12月19日 16:12, a...@redhat.com wrote:
>> From: Alex Jia
>>
>> * Detected by valgrind. Leak introduced in commit 5ab109f.
Wow - present since 0.4.1!
>> +++ b/python/libvirt-override.c
>> @@ -1520,6 +1520,7 @@ libvirt_virConnectOpenAuth(PyObject *s
On 12/19/2011 04:01 AM, Osier Yang wrote:
> Since for node , the values for attrs "domain", "bus", "slot",
> "function" are all converted to heximal when parsing the XML. However
> commit ea7182c29 tries to examine if the device represented by the XML
> from user exists in the domain XML earlier be
On Thu, Dec 15, 2011 at 06:50:14PM +0800, Hu Tao wrote:
> This series adds a new command numatune to get/set numatune parameters.
>
> Besides libnuma, cpuset cgroup parameters are also set according to
> numatune parameters. But for now, only cpuset.mems is supported.
I've not done a detailed rev
On Mon, Dec 19, 2011 at 12:41:08PM +0800, Osier Yang wrote:
> On 2011年06月30日 00:26, Eric Blake wrote:
> >On 06/29/2011 06:19 AM, Osier Yang wrote:
> >>These two patches is to introduce two new virsh commands, one is
> >>eject-media, which is to eject media from CD or floppy drive, the other
> >>is
On 12/19/2011 07:20 AM, Christophe Fergeau wrote:
> Remove 2 words that shouldn't be here.
> ---
> docs/formatstorage.html.in |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in
> index f13ca6a..0dcf6df 100644
> --
Remove 2 words that shouldn't be here.
---
docs/formatstorage.html.in |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in
index f13ca6a..0dcf6df 100644
--- a/docs/formatstorage.html.in
+++ b/docs/formatstorage.html.in
@@
On Fri, Dec 16, 2011 at 11:39:26AM -0700, Eric Blake wrote:
> On 12/16/2011 02:08 AM, Daniel P. Berrange wrote:
>
> >> @@ -71,23 +76,7 @@ if [ -x /usr/bin/i686-pc-mingw32-gcc ]; then
> >> --host=i686-pc-mingw32 \
> >> --prefix="$AUTOBUILD_INSTALL_ROOT/i686-pc-mingw32/sys-root/mingw" \
>
I am pleased to announce that a new release of the libvirt-glib package,
version 0.0.3 is now available from
ftp://libvirt.org/libvirt/glib/
The packages are GPG signed with
Key fingerprint: DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF (4096R)
New in this release:
- Flesh out API i
On Wed, Dec 14, 2011 at 01:56:36PM -0700, Eric Blake wrote:
> On 12/13/2011 05:38 PM, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > Currently all drivers using domain events need to provide a callback
> > for handling a timer to dispatch events in a clean stack. There is
> > no
On Wed, Dec 14, 2011 at 01:15:58PM -0700, Eric Blake wrote:
> On 12/13/2011 05:38 PM, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > * src/libxl/libxl_driver.c, src/lxc/lxc_driver.c,
> > src/qemu/qemu_driver.c, src/remote/remote_driver.c,
> > src/test/test_driver.c, src/uml/
On Wed, Dec 14, 2011 at 11:26:57AM -0700, Eric Blake wrote:
> On 12/14/2011 11:17 AM, Eric Blake wrote:
> > On 12/13/2011 05:38 PM, Daniel P. Berrange wrote:
> >> From: "Daniel P. Berrange"
> >>
> >> The Xen & VBox drivers deal with callbacks & dispatching of
> >> events directly. All the other dr
Since for node , the values for attrs "domain", "bus", "slot",
"function" are all converted to heximal when parsing the XML. However
commit ea7182c29 tries to examine if the device represented by the XML
from user exists in the domain XML earlier before the XML parsing, and
thus if the user use dif
On Wed, Dec 07, 2011 at 11:58:13AM +0100, Michal Novotny wrote:
> Hi,
> this is the fifth version of my SRV record for DNSMasq patch rebased
> for the current codebase to the bridge driver and libvirt XML file to
> include support for the SRV records in the DNS. The syntax is based on
> DNSMasq man
On 2011年12月19日 16:12, a...@redhat.com wrote:
From: Alex Jia
* Detected by valgrind. Leak introduced in commit 5ab109f.
* python/libvirt-override.c: avoid memory leak on libvirt_virConnectOpenAuth.
* How to reproduce?
% valgrind -v --leak-check=full virt-clone --print-xml
Note: it can hi
On Wed, Dec 14, 2011 at 11:17:47AM -0700, Eric Blake wrote:
> On 12/13/2011 05:38 PM, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > The Xen & VBox drivers deal with callbacks & dispatching of
> > events directly. All the other drivers use a timer to dispatch
> > events from a c
On Fri, Dec 16, 2011 at 09:32:19AM -0700, Eric Blake wrote:
> On 12/15/2011 03:50 AM, Hu Tao wrote:
> > ---
> > daemon/remote.c | 64
> > ++
> > src/remote/remote_driver.c | 50
> > src/remote/remote_proto
On Fri, Dec 16, 2011 at 09:22:37AM -0700, Eric Blake wrote:
> On 12/15/2011 03:50 AM, Hu Tao wrote:
> > ---
> > src/libvirt.c | 113
> > +
> > 1 files changed, 113 insertions(+), 0 deletions(-)
>
> I've reviewed 1-4, and the first three lo
On Fri, Dec 16, 2011 at 03:45:36PM -0700, Eric Blake wrote:
> On 12/15/2011 03:50 AM, Hu Tao wrote:
> > Set up the types for the numa functions and insert them into the
> > virDriver structure definition.
> > ---
> > include/libvirt/libvirt.h.in | 23 +++
> > python/generator
From: Alex Jia
* Detected by valgrind. Leak introduced in commit 5ab109f.
* python/libvirt-override.c: avoid memory leak on libvirt_virConnectOpenAuth.
* How to reproduce?
% valgrind -v --leak-check=full virt-clone --print-xml
Note: it can hit the issue although options are incomplete.
*
46 matches
Mail list logo