The network and nwfilter tests contained in the libvirt-TCK testkit can fail
unless access to raw network packets is granted. Without this access, the
following apparmor error can be seen while running the tests:
apparmor=DENIED operation=create parent=1 profile=/usr/sbin/libvirtd
pid=94731
Apparmor must not prevent access to required helper programs. The following
helpers should be allowed to run in unconfined execution mode:
- libvirt_parthelper
- libvirt_iohelper
---
examples/apparmor/usr.sbin.libvirtd | 2 ++
1 file changed, 2 insertions(+)
diff --git
In order for apparmor to work properly in Xen environments, the following
access rights need to be allowed:
- Allow CAP_SYS_PACCT, which is required when resetting some multi-port
Broadcom cards by writting to the PCI config space
- Allow CAP_IPC_LOCK, which is required to lock/unlock
The apparmor profile example for libvirtd is rather outdated. The changes in
this patch series are intended to bring this sample up to date with the latest
working configuration. This series addresses issues applicable to general
libvirt, Xen and libvirt-TCK operations - each in their own patch.
On 01/13/2015 02:57 AM, Martin Kletzander wrote:
In order for QEMU vCPU (and other) threads to run with RT scheduler,
libvirt needs to take care of that so QEMU doesn't have to run privileged.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1178986
Signed-off-by: Martin Kletzander
On 01/13/2015 02:57 AM, Martin Kletzander wrote:
This function uses sched_setscheduler() function so it works with
processes and threads as well (even threads not created by us, which is
what we'll need in the future).
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
On 01/13/2015 02:57 AM, Martin Kletzander wrote:
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1178986
Could use a bit more details here.
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
src/qemu/qemu_driver.c | 7 -
src/qemu/qemu_process.c | 76
hi Michal Privoznik:
my env is qemu 1.4.2 libvirt 1.0.5
this is my vm log:
*** glibc detected *** /usr/bin/qemu-system-x86_64: double free or corruption
(out): 0x7f8be03090b0 ***
=== Backtrace: =
/lib64/libc.so.6(+0x760e6)[0x7f8d180750e6]
-Original Message-
From: Ján Tomko [mailto:jto...@redhat.com]
Sent: Friday, January 16, 2015 10:22 PM
To: Chen, Hanxiao/陈 晗霄; libvir-list@redhat.com
Subject: Re: [libvirt] [PATCH 2/2] storage: try to perform btrfs COW copy if
possible
On 01/13/2015 09:18 AM, Chen Hanxiao wrote:
On Mon, Jan 19, 2015 at 10:12:34PM -0500, John Ferlan wrote:
On 01/13/2015 02:57 AM, Martin Kletzander wrote:
This function uses sched_setscheduler() function so it works with
processes and threads as well (even threads not created by us, which is
what we'll need in the future).
On 20.01.2015 04:46, shaowt wrote:
hi Michal Privoznik:
my env is qemu 1.4.2 libvirt 1.0.5
this is my vm log:
*** glibc detected *** /usr/bin/qemu-system-x86_64: double free or corruption
(out): 0x7f8be03090b0 ***
=== Backtrace: =
I had forgotten about this patch during the holidays until John Ferlan
reminded me a few days ago.
On 12/03/2014 07:01 PM, Josh Stone wrote:
This adds a new localOnly attribute on the domain element of the
network xml. With this set to yes, DNS requests under that domain
will only be resolved
On 01/09/2015 07:22 AM, Michal Privoznik wrote:
There's one bug that got more visible with my patches that
automatically precreate storage on migration. The problem is, if
there's not enough disk space on destination, we successfully finish
the migration instead of failing.
Firstly, we
By specifying parentIndex in a call to virNetworkUpdate(), it was
possible to direct libvirt to add a dhcp range or static host of a
non-matching address family to the dhcp element of an ip. For
example, given:
ip address='192.168.122.1' netmask='255.255.255.0'/
ip family='ipv6'
On 01/12/2015 05:54 PM, Eric Blake wrote:
At least with live block commit, it is possible to have a block
job that reports 0 status: namely, when the active image contains
no sectors that differ from the backing image it is being committed
into [1]. I'm not sure if that represents a qemu
On Mon, Jan 19, 2015 at 09:56:35AM +0800, Zhu Guihua wrote:
Hi Daniel,
On Wed, 2015-01-14 at 14:05 +, Daniel P. Berrange wrote:
systemd-machined introduced a new method CreateMachineWithNetwork
that obsoletes CreateMachine. It expects to be given a list of
VETH/TAP device indexes for
hi all:
when i use vnc to connect VM, sometimes in libvirt logs, i found
glibc detected invalid pointer error,and then this vm will be
shutdown .
“The information (including any attachments) contained in this e-mail is
confidential and may be
On Mon, Jan 19, 2015 at 02:13:12PM +0100, Martin Kletzander wrote:
On Mon, Jan 19, 2015 at 12:34:52PM +, Daniel P. Berrange wrote:
The virDBusMethodCall method has a DBusError as one of its
parameters. If the caller wants to pass a non-NULL value
for this, it immediately makes the calling
On Mon, Jan 19, 2015 at 02:13:12PM +0100, Martin Kletzander wrote:
On Mon, Jan 19, 2015 at 12:34:52PM +, Daniel P. Berrange wrote:
The virDBusMethodCall method has a DBusError as one of its
parameters. If the caller wants to pass a non-NULL value
for this, it immediately makes the calling
On Mon, Jan 19, 2015 at 02:24:34PM +0100, Martin Kletzander wrote:
On Mon, Jan 19, 2015 at 02:13:12PM +0100, Martin Kletzander wrote:
On Mon, Jan 19, 2015 at 12:34:52PM +, Daniel P. Berrange wrote:
The virDBusMethodCall method has a DBusError as one of its
parameters. If the caller wants
On Mon, Jan 19, 2015 at 01:28:15PM +, Daniel P. Berrange wrote:
On Mon, Jan 19, 2015 at 02:13:12PM +0100, Martin Kletzander wrote:
On Mon, Jan 19, 2015 at 12:34:52PM +, Daniel P. Berrange wrote:
The virDBusMethodCall method has a DBusError as one of its
parameters. If the caller wants
On Mon, 2015-01-19 at 09:37 +, Ian Campbell wrote:
On Mon, 2015-01-19 at 04:48 +, xen.org wrote:
branch xen-unstable
xen branch xen-unstable
job build-armhf-libvirt
test libvirt-build
Tree: libvirt git://libvirt.org/libvirt.git
Tree: qemuu
On 19.01.2015 12:51, Ján Tomko wrote:
Using the same driver multiple times is pointless and
it can result in confusing errors:
$ virsh start test
error: Failed to start domain test
error: internal error: security label already defined for VM
On Mon, Jan 19, 2015 at 02:50:19PM +0100, Martin Kletzander wrote:
On Mon, Jan 19, 2015 at 01:28:15PM +, Daniel P. Berrange wrote:
On Mon, Jan 19, 2015 at 02:13:12PM +0100, Martin Kletzander wrote:
On Mon, Jan 19, 2015 at 12:34:52PM +, Daniel P. Berrange wrote:
The virDBusMethodCall
On 19.01.2015 11:04, Martin Kletzander wrote:
Since the day we removed python bindings from the core repository, the
documentation was missing that information.
Reported-by: Lingyu Zhu lynus...@gmail.com
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
docs/bindings.html.in | 6
The virDBusMethodCall method has a DBusError as one of its
parameters. If the caller wants to pass a non-NULL value
for this, it immediately makes the calling code require
DBus at build time. This has led to breakage of non-DBus
builds several times. It is desirable that only the virdbus.c
file
On 16.01.2015 18:38, Gary R Hook wrote:
From: Gary R Hook grhookatw...@gmail.com
Do not run ZFS tests when ZFS is unsupported in the environment.
The recent patch b4af40226d09adeaf9e33a1d6594c4e8ce7f771d adds tests
to storagepoolxml2xmltest for the optional ZFS feature. When ZFS is
not
On Mon, Jan 19, 2015 at 12:34:52PM +, Daniel P. Berrange wrote:
The virDBusMethodCall method has a DBusError as one of its
parameters. If the caller wants to pass a non-NULL value
for this, it immediately makes the calling code require
DBus at build time. This has led to breakage of non-DBus
On 19.01.2015 14:07, shaowt wrote:
hi all:
when i use vnc to connect VM, sometimes in libvirt logs,
i found
glibc detected invalid pointer error,and then this vm will be
shutdown .
The best would be to run libvirtd under valgrind to see the backtrace
that lead to
From: Tony Krowiak akrow...@linux.vnet.ibm.com
This patch set provides the code to synchonize some macvtap device
modes when the values are changed on the guest's network device. The
following modes will by synchronized:
* PROMISC
* MULTICAST
* ALLMULTI
Tony Krowiak (2):
util: Functions for
The libvirt API has in the name virDomain but it's correctly mapped
into virConnect class. Create an exception in the sanity test.
Signed-off-by: Pavel Hrdina phrd...@redhat.com
---
Pushed as build(test) breaker.
sanitytest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Hi all,
I had libvirt 1.2.10 running without issues together with the qemu package
qemu-kvm-0.12.1.2-2.415.el6_5.14.x86_64.rpm
Now, after updating my server, qemu-kvm became version
qemu-kvm-0.12.1.2-2.448.el6_6.x86_64
And as a result, when doing 'virsh start' (virsh define worked ok), the
From: Tony Krowiak akrow...@linux.vnet.ibm.com
This patch supplies the funtionality of synchronizing the host macvtap
device options with the guest device's in response to the
NIC_RX_FILTER_CHANGED event.
The following device options will be synchronized:
* PROMISC
* MULTICAST
* ALLMULTI
Using the same driver multiple times is pointless and
it can result in confusing errors:
$ virsh start test
error: Failed to start domain test
error: internal error: security label already defined for VM
https://bugzilla.redhat.com/show_bug.cgi?id=1153891
---
src/qemu/qemu_conf.c | 9 -
The virDBusMethodCall method has a DBusError as one of its
parameters. If the caller wants to pass a non-NULL value
for this, it immediately makes the calling code require
DBus at build time. This has led to breakage of non-DBus
builds several times. It is desirable that only the virdbus.c
file
Since the day we removed python bindings from the core repository, the
documentation was missing that information.
Reported-by: Lingyu Zhu lynus...@gmail.com
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
docs/bindings.html.in | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
From: Tony Krowiak akrow...@linux.vnet.ibm.com
This patch provides the utility functions needed to synchronize
the rxfilter changes made to a guest domain with the corresponding
macvtap devices on the host:
* Get/set PROMISC flag
* Get/set ALLMULTI, MULTICAST
Signed-off-by: Tony Krowiak
Some functions of the Libvirt interface were missing a required flags
parameter as defined by the libvirt C API, namely:
* virInterfaceCreate
* virInterfaceDestroy
* virNodeDeviceGetXMLDesc
Calling these functions without the flags parameter would result in
undefined behaviour, at best in an
On 19.01.2015 16:12, liede...@telenet.be wrote:
Hi all,
I had libvirt 1.2.10 running without issues together with the qemu package
qemu-kvm-0.12.1.2-2.415.el6_5.14.x86_64.rpm
Now, after updating my server, qemu-kvm became version
qemu-kvm-0.12.1.2-2.448.el6_6.x86_64
And as a result,
39 matches
Mail list logo