Right now we mount selinuxfs even user namespace is enabled and
ignore the error. But we shouldn't ignore these errors when user
namespace is not enabled.
This patch skips mounting selinuxfs when user namespace enabled.
Signed-off-by: Gao feng
---
src/lxc/lxc_container.c | 8 +---
1 file ch
Resend to list.
Regards,
Chunyan
2013/9/12 Jim Fehlig
> Chunyan Liu wrote:
> > [rebased to latest libvirt code for applying and reviewing the patches]
> >
>
> Odd, but I just noticed that this series is not in the list archives,
> nor is the original V5 you sent on Sept. 2. You're obviously su
Change lxc driver to use hostdev common library instead of its own APIs in
lxc_hostdev.[ch]
Signed-off-by: Chunyan Liu
---
po/POTFILES.in|1 -
src/Makefile.am |1 -
src/lxc/lxc_conf.h|4 -
src/lxc/lxc_driver.c | 45 +++---
src/lxc/lxc_hostdev.c | 413 ---
[rebased to latest libvirt code for applying and reviewing the patches]
These patches implements a separate module for hostdev passthrough so that it
could be shared by different drivers and can maintain a global state of a host
device. Plus, add passthrough to libxl driver, and change qemu driver
On 09/11/2013 12:53 AM, Michal Skrivanek wrote:
>
> On Sep 11, 2013, at 00:11 , Eric Blake wrote:
>
>> On 09/10/2013 03:52 PM, Dan Kenigsberg wrote:
>>> On Tue, Sep 10, 2013 at 05:31:23PM +, SULLIVAN, Chris (WGK) wrote:
Hi Itamar,
BZ created: https://bugzilla.redhat.com/show_b
On 09/10/2013 06:46 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Move the array of basic mounts out of the lxcContainerMountBasicFS
> function, to a global variable. This is to allow it to be referenced
> by other methods wanting to know what the basic mount paths are.
>
> Sign
On 09/10/2013 06:46 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> If the guest is configured with
>
>
>
>
>
>
>
> Then any submounts under / should also end up readonly, except
> for those setup as basic mounts. eg if the user has /home on a
> sep
On 09/11/2013 04:56 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Describe some of the issues to be aware of when configuring LXC
> guests with security isolation as a goal.
>
> Signed-off-by: Daniel P. Berrange
> ---
> docs/drvlxc.html.in | 103
>
On 09/11/2013 06:19 AM, Michal Novotny wrote:
> This fixes the description of virConnectGetType() API function in
> API documentation to match the real functionality that it can be
> used to get driver name.
>
> Signed-off-by: Michal Novotny
> ---
> src/libvirt.c | 3 ++-
> 1 file changed, 2 ins
On 09/11/2013 10:31 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> The change to query org.freedesktop.DBus.ListActivatableNames
> to detect systemd broke the test suite, since we did not have
> stubs to respond to this dbus call.
>
> Signed-off-by: Daniel P. Berrange
> ---
oop
On Wed, Sep 11, 2013 at 11:05 AM, Ján Tomko wrote:
> On 09/11/2013 03:36 PM, Laine Stump wrote:
>> On 09/10/2013 04:26 PM, Diego Woitasen wrote:
>>> Useful to set custom forwarders instead of using the contents of
>>> /etc/resolv.conf. It helps me to setup dnsmasq as local nameserver to
>>> resol
On Wed, Sep 11, 2013 at 12:59 PM, Daniel P. Berrange
wrote:
> On Wed, Sep 11, 2013 at 09:36:06AM -0400, Laine Stump wrote:
>> On 09/10/2013 04:26 PM, Diego Woitasen wrote:
>> > Useful to set custom forwarders instead of using the contents of
>> > /etc/resolv.conf. It helps me to setup dnsmasq as l
On 09/11/2013 07:58 AM, Guido Günther wrote:
> These are the patches Debian is currently carrying on 0.9.12. Most are
> straight cherry-picks. Since we're maintaining 0.9.12 for our current
> stable release I'm happy to push these to v0.9.12-maint.
I've made comments on a few; I'm in favor of the
On 09/11/2013 02:15 AM, Daniel P. Berrange wrote:
> On Tue, Sep 10, 2013 at 11:52:00AM -0600, Eric Blake wrote:
>> ping; I'm debating about pushing this under the build-breaker rule
>>
>>>
>>> It's much nicer to prevent this at configure time, by requiring that
>>> if we know what netcf used, then
[again, the mail settings made it awkward; reply-to-all directed me to
Peter and omitted Guido, even though it is really Guido's replay of a
patch by Peter]
On 09/11/2013 08:16 AM, Peter Krempa wrote:
> When a domain has a active console connection and is destroyed the
> callback is called on priv
On 09/11/2013 08:17 AM, Ferenc Wágner wrote:
> Backport of 81621f3e6e45e8681cc18ae49404736a0e772a11 and
> f1b4021b38f9485c50d386af6f682ecfc8025af5 to fix a race (resulting in a
> segfault) when destroying domains.
> ---
> src/qemu/qemu_driver.c | 19 +--
> 1 file changed, 13 insert
On 09/11/2013 07:59 AM, Guido Günther wrote:
> to fix the build on kFreeBSD.
>
> References:
> https://buildd.debian.org/status/fetch.php?pkg=libvirt&arch=kfreebsd-amd64&ver=0.9.12-2&stamp=1339698841
> ---
> src/util/virnetlink.h | 2 ++
> 1 file changed, 2 insertions(+)
It looks like e8314e78f
On 09/11/2013 08:17 AM, Peter Krempa wrote:
> Commit ba226d334acbc49f6751b430e0c4e00f69eef6bf tried to fix crash of
> the daemon when a domain with an open console was destroyed. The fix was
> wrong as it tried to remove the callback also when the stream was
> aborted, where at that point the fd st
On 09/11/2013 08:00 AM, Luca Tettamanti wrote:
> This is a backport of 71da3b66a8455faf8019effe3cf504a31f91f54a.
> ---
> src/storage/storage_backend_logical.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
This is not identical to the contents of 71da3b6 (it's missing the last
hunk,
Signed-off-by: Giuseppe Scrivano
---
src/test/test_driver.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index f9eee44..fb4c1d9 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -54,6 +54,7 @@
#include "virtype
Signed-off-by: Giuseppe Scrivano
---
tools/virsh-host.c | 54 ++
tools/virsh.pod| 5 +
2 files changed, 59 insertions(+)
diff --git a/tools/virsh-host.c b/tools/virsh-host.c
index 880ae4b..5d47428 100644
--- a/tools/virsh-host.c
+++ b/
Signed-off-by: Giuseppe Scrivano
---
src/cpu/cpu.c| 56
src/cpu/cpu.h| 3 +++
src/libvirt_private.syms | 1 +
3 files changed, 60 insertions(+)
diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c
index 50c2de3..7011b3d 100644
---
This series adds a new API "virConnectGetCPUModelNames" that allows to
retrieve the list of CPU models known by the hypervisor for a specific
architecture.
This new function is mainly needed by virt-manager to not read
directly the cpu_map.xml file (it could also be different when
accessing a remo
Backport of 81621f3e6e45e8681cc18ae49404736a0e772a11 and
f1b4021b38f9485c50d386af6f682ecfc8025af5 to fix a race (resulting in a
segfault) when destroying domains.
---
src/qemu/qemu_driver.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/qemu/qemu_drive
This is a backport of 71da3b66a8455faf8019effe3cf504a31f91f54a.
---
src/storage/storage_backend_logical.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/storage/storage_backend_logical.c
b/src/storage/storage_backend_logical.c
index 9a91dd9..7abb17b 100644
--- a/src/s
Signed-off-by: Giuseppe Scrivano
---
python/generator.py | 2 +-
python/libvirt-override-api.xml | 7 ++
python/libvirt-override.c | 52 +
python/libvirt-override.py | 11 +
4 files changed, 71 insertions(+), 1 deletion(
On 09/11/13 16:00, Peter Krempa wrote:
Guido, you should recofigure your git-send-email or other mailer so that
it sends patches in your name with a separate "From:" line in the body.
This now looks as if I've sent the mail which is not the case.
Peter
> This patc
On 11.09.2013 17:37, Doug Goldstein wrote:
> On Wed, Sep 11, 2013 at 10:06 AM, Laine Stump wrote:
>> This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=983026
>>
>> The netcf interface driver previously had no state driver associated
>> with it - as a connection was opened, it would create
On Wed, Sep 11, 2013 at 09:00:10PM +0530, Nehal J Wani wrote:
> diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
> index a1c23da..75d2c60 100644
> --- a/src/remote/remote_protocol.x
> +++ b/src/remote/remote_protocol.x
> @@ -232,6 +232,11 @@ const REMOTE_DOMAIN_MIGRATE_PARAM
On Wed, Sep 11, 2013 at 09:36:06AM -0400, Laine Stump wrote:
> On 09/10/2013 04:26 PM, Diego Woitasen wrote:
> > Useful to set custom forwarders instead of using the contents of
> > /etc/resolv.conf. It helps me to setup dnsmasq as local nameserver to
> > resolv VM
> > domain names from domain 0,
On Wed, Sep 11, 2013 at 12:55:01PM -0600, Eric Blake wrote:
> On 09/11/2013 07:24 AM, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange"
> >
> > The polkit access driver used the wrong permission names for checks
> > on storage pools, volumes and node devices. This led to them always
> > be
On Wed, Sep 11, 2013 at 10:35:04PM +0530, Nehal J Wani wrote:
> On Wed, Sep 11, 2013 at 9:25 PM, Daniel P. Berrange
> wrote:
> >
> > On Wed, Sep 11, 2013 at 09:00:09PM +0530, Nehal J Wani wrote:
> > > diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
> > > index a47e33c..38
On 09/11/2013 01:02 PM, Daniel P. Berrange wrote:
>>
>>
>>
>> [Ugg - did we REALLY mean to mis-spell detach? Is it too late to fix that?]
>
> The bug with using 'nodedevice' instead of 'node-device' means
> no one could have made use of the permission 'dettach'. Given that
> I think we can jus
On Wed, Sep 11, 2013 at 1:18 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Debian systems may run the 'systemd-logind' daemon, which causes the
> /sys/fs/cgroup/systemd mount to be setup, but no other cgroup
> controllers are created. While the LXC driver considers cgroups to
>
On 09/11/2013 07:24 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> The polkit access driver used the wrong permission names for checks
> on storage pools, volumes and node devices. This led to them always
> being denied access.
>
> Signed-off-by: Daniel P. Berrange
> ---
> src/
On 09/11/2013 12:54 PM, Doug Goldstein wrote:
>> +if (got != want) {
>> +fprintf(stderr, "Expected cgroup %savailable, but state was
>> wrong\n",
>
> Missing a space between the %s and available.
>
>> +want ? "" : "not ");
Intentional; it gives: 'Expected cgroup ava
> +
> +ret->leases.leases_len = nleases;
> +
> +for (i = 0; i < nleases; i++) {
> +virNetworkDHCPLeasesPtr lease = leases[i];
> +remote_network_dhcp_lease *lease_ret =
&(ret->leases.leases_val[i]);
> +lease_ret->expirytime = lease->expirytime;
> +
> +if ((VIR
Roberto Sassu wrote:
> Hi everyone
>
> I'm using Ubuntu 12.04.3 LTS with the Xen hypervisor
> installed (package version: 4.1.2-2ubuntu2.10),
> and Libvirt v0.10.2.2 (that interacts with Xen through
> the libxl driver).
>
> I performed some adjustments to have the required
> features:
>
> - Switch
On Wed, Sep 11, 2013 at 02:18:04PM -0400, Laine Stump wrote:
> On 09/11/2013 01:14 PM, Daniel P. Berrange wrote:
> > On Wed, Sep 11, 2013 at 10:35:04PM +0530, Nehal J Wani wrote:
> >> On Wed, Sep 11, 2013 at 9:25 PM, Daniel P. Berrange
> >> wrote:
> >>> On Wed, Sep 11, 2013 at 09:00:09PM +0530, N
On 09/11/2013 01:14 PM, Daniel P. Berrange wrote:
> On Wed, Sep 11, 2013 at 10:35:04PM +0530, Nehal J Wani wrote:
>> On Wed, Sep 11, 2013 at 9:25 PM, Daniel P. Berrange
>> wrote:
>>> On Wed, Sep 11, 2013 at 09:00:09PM +0530, Nehal J Wani wrote:
diff --git a/include/libvirt/libvirt.h.in b/inc
From: "Daniel P. Berrange"
Debian systems may run the 'systemd-logind' daemon, which causes the
/sys/fs/cgroup/systemd mount to be setup, but no other cgroup
controllers are created. While the LXC driver considers cgroups to
be mandatory, the QEMU driver is supposed to accept them as optional.
Chunyan Liu wrote:
> [rebased to latest libvirt code for applying and reviewing the patches]
>
Odd, but I just noticed that this series is not in the list archives,
nor is the original V5 you sent on Sept. 2. You're obviously subscribed
to the list, so I wouldn't expect the mails to be held fo
On Wed, Sep 11, 2013 at 9:25 PM, Daniel P. Berrange wrote:
>
> On Wed, Sep 11, 2013 at 09:00:09PM +0530, Nehal J Wani wrote:
> > diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
> > index a47e33c..3885baf 100644
> > --- a/include/libvirt/libvirt.h.in
> > +++ b/include/libvi
On Wed, Sep 11, 2013 at 10:17 AM, wrote:
> hi:
> i build rpm in centos 6.2, libvirt version 1.1.2,i found an error
> FAIL: virsh-uriprecedence
>
> Details in the attachment,thanks !Wait for a response
>
>
> ---
> 21CN手机邮Android客户端,邮件随身享!
>
> --
>
Hi,
As explained in a bug on the debian BTS[0], I'm getting the following
backtrace on my machine when trying to start a domain:
Erreur lors du démarrage du domaine: At least one cgroup controller is
required: No such device or address
Traceback (most recent call last):
File "/usr/share/virt-
On Wed, Sep 11, 2013 at 11:06:26AM -0400, Laine Stump wrote:
> +static void
> +interfaceDriverLock(virNetcfDriverStatePtr driver)
> +{
> +virObjectLock(driver);
> +}
> +
> +static void
> +interfaceDriverUnlock(virNetcfDriverStatePtr driver)
> +{
> +virObjectUnlock(driver);
> +}
For everyth
On Wed, Sep 11, 2013 at 10:43 AM, Michal Privoznik wrote:
> On 11.09.2013 17:37, Doug Goldstein wrote:
>> On Wed, Sep 11, 2013 at 10:06 AM, Laine Stump wrote:
>>> This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=983026
>>>
>>> The netcf interface driver previously had no state driver as
On Wed, Sep 11, 2013 at 09:00:09PM +0530, Nehal J Wani wrote:
> diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
> index a47e33c..3885baf 100644
> --- a/include/libvirt/libvirt.h.in
> +++ b/include/libvirt/libvirt.h.in
> @@ -2800,6 +2800,28 @@ int
> virC
Commit ba226d334acbc49f6751b430e0c4e00f69eef6bf tried to fix crash of
the daemon when a domain with an open console was destroyed. The fix was
wrong as it tried to remove the callback also when the stream was
aborted, where at that point the fd stream driver was already freed and
removed.
This pat
This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=983026
The netcf interface driver previously had no state driver associated
with it - as a connection was opened, it would create a new netcf
instance just for that connection, and close it when it was
finished. the problem with this is th
Commit 38ab1225 changed the default value of ret from true to false but
forgot to set ret = true when job is NONE. Thus, virsh domjobinfo
returned 1 when there was no job running for a domain but it used to
(and should) return 0 in this case.
---
tools/virsh-domain.c | 1 +
1 file changed, 1 inser
This API returns the information stored in the DHCP leases file
created by dnsmasq for a given virtual network. It contacts the
bridge network driver, which parses the leases file.
It supports two methods:
1. Return info for all network interfaces connected to a given
virtual network
2. Return
Thanks to this new option we are now able to use modern CPU models (such
as Westmere) defined in external configuration file.
The qemu-1.1{,-device} data files for qemuhelptest are filled in with
qemu-1.1-rc2 output for now. I will update those files with real
qemu-1.1 output once it is released.
Signed-off-by: Giuseppe Scrivano
---
daemon/remote.c | 43 +
src/remote/remote_driver.c | 57
src/remote/remote_protocol.x | 20 +++-
src/remote_protocol-structs | 11 +
4 files change
The new function virConnectGetCPUModelNames allows to retrieve the list
of CPU models known by the hypervisor for a specific architecture.
Signed-off-by: Giuseppe Scrivano
---
include/libvirt/libvirt.h.in | 4
python/generator.py | 1 +
src/driver.h | 7 +++
On 09/11/2013 04:16 PM, Jiri Denemark wrote:
> Commit 38ab1225 changed the default value of ret from true to false but
> forgot to set ret = true when job is NONE. Thus, virsh domjobinfo
> returned 1 when there was no job running for a domain but it used to
> (and should) return 0 in this case.
> -
Signed-off-by: Giuseppe Scrivano
---
src/qemu/qemu_driver.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index bbf2d23..c139daa 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -15880,6 +15880,19 @@ qemuNode
When a domain has a active console connection and is destroyed the
callback is called on private data that no longer exist causing a
segfault.
---
src/conf/virconsole.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/conf/virconsole.c b/src/conf/virconsole.c
index 443d80d..e665149 10064
On 09/11/2013 08:51 AM, Peter Krempa wrote:
> On 09/11/13 16:00, Peter Krempa wrote:
>
>
> Guido, you should recofigure your git-send-email or other mailer so that
> it sends patches in your name with a separate "From:" line in the body.
> This now looks as if I've
On Wed, Sep 11, 2013 at 10:06 AM, Laine Stump wrote:
> This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=983026
>
> The netcf interface driver previously had no state driver associated
> with it - as a connection was opened, it would create a new netcf
> instance just for that connection,
By querying the driver for the path of the leases file for the given virtual
network and parsing it to retrieve info.
src/network/bridge_driver.c:
* Implement networkGetDHCPLeases
* Implement networkGetDHCPLeaseForMAC
* Implement networkGetDHCPLeasesHelper
---
src/network/bridge_driver.c |
Introduce 3 new APIs, virNetworkGetDHCPLeases, virNetworkGetDHCPLeaseForMAC
and virNetworkDHCPLeaseFree.
* virNetworkGetDHCPLeases: returns the dhcp leases information for a given
virtual network. The information includes lease expirytime, MAC Address,
IP Address, hostname and clientid.
Implement RPC calls for virNetworkGetDHCPLeases, virNetworkGetDHCPLeaseForMAC
daemon/remote.c
* Define remoteSerializeNetworkDHCPLeases,
remoteDispatchNetworkGetDHCPLeases
* Define remoteDispatchNetworkGetDHCPLeaseForMAC
src/remote/remote_driver.c
* Define remoteNetworkGetDHC
Use virNetworkGetDHCPLeases and virNetworkGetDHCPLeaseForMAC in virsh.
The new feature supports the follwing methods:
1. Retrieve leases info for a given virtual network
2. Retrieve leases info for given network interface
tools/virsh-domain-monitor.c
* Introduce new command : net-dhcp-leases
hi:
i build rpm in centos 6.2, libvirt version 1.1.2,i found an error FAIL: virsh-uriprecedence
Details in the attachment,thanks ! Wait for a response---21CN手机邮Android客户端,邮件随身享! PASS: virshtest
PASS: sockettest
PASS: nodeinfotest
PASS: virbuftest
On Sep 11, 2013, at 00:11 , Eric Blake wrote:
> On 09/10/2013 03:52 PM, Dan Kenigsberg wrote:
>> On Tue, Sep 10, 2013 at 05:31:23PM +, SULLIVAN, Chris (WGK) wrote:
>>> Hi Itamar,
>>>
>>> BZ created: https://bugzilla.redhat.com/show_bug.cgi?id=1006490
>>>
>>> Thanks,
>>
>> Thanks, but we c
On Wed, Sep 11, 2013 at 01:50:27PM +0100, Daniel P. Berrange wrote:
> On Wed, Sep 11, 2013 at 11:15:02AM +0800, Gao feng wrote:
> > This patch introduces virDBusIsServiceEnabled, we can use
> > this method to get if the service is supported.
> >
> > In one case, if org.freedesktop.machine1 is unav
This patch resolves CVE-2013-0170:
https://bugzilla.redhat.com/show_bug.cgi?id=893450
When reading and dispatching of a message failed the message was freed
but wasn't removed from the message queue.
After that when the connection was about to be closed the pointer for
the message was still prese
From: "Daniel P. Berrange"
The change to query org.freedesktop.DBus.ListActivatableNames
to detect systemd broke the test suite, since we did not have
stubs to respond to this dbus call.
Signed-off-by: Daniel P. Berrange
---
tests/virsystemdmock.c | 54 +
This is a backport of 71da3b66a8455faf8019effe3cf504a31f91f54a.
---
src/storage/storage_backend_logical.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/storage/storage_backend_logical.c
b/src/storage/storage_backend_logical.c
index 9a91dd9..7abb17b 100644
--- a/src/s
On Wed, Sep 11, 2013 at 02:38:19PM +0100, Daniel P. Berrange wrote:
> On Wed, Sep 11, 2013 at 03:36:31PM +0200, Guido Günther wrote:
> > The F15 PXE images were removed so switch to F19.
> > ---
> > conf/default.cfg | 8
> > 1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --
On 09/11/2013 03:36 PM, Laine Stump wrote:
> On 09/10/2013 04:26 PM, Diego Woitasen wrote:
>> Useful to set custom forwarders instead of using the contents of
>> /etc/resolv.conf. It helps me to setup dnsmasq as local nameserver to resolv
>> VM
>> domain names from domain 0, when domain option is
While unescaping the commands the commands passed through to the monitor
function qemuMonitorUnescapeArg() initialized lenght of the input string
to strlen()+1 which is fine for alloc but not for iteration of the
string.
This patch fixes the off-by-one error and drops the pointless check for
a sin
Thanks to this new option we are now able to use modern CPU models (such
as Westmere) defined in external configuration file.
The qemu-1.1{,-device} data files for qemuhelptest are filled in with
qemu-1.1-rc2 output for now. I will update those files with real
qemu-1.1 output once it is released.
Daemon uses the following pattern when dispatching APIs with typed
parameters:
VIR_ALLOC_N(params, nparams);
virDomain*(dom, params, &nparams, flags);
virTypedParameterArrayClear(params, nparams);
In case nparams was originally set to 0, virDomain* API would fill it
with the number of
This reverts commit b1e374a7ac56927cfe62435179bf0bba1e08b372, which was
rather bad since I failed to consider all sides of the issue. The main
things I didn't consider properly are:
- a thread which sends a non-blocking call waits for the thread with
the buck to process the call
- the code doesn
Fix for CVE-2012-4423.
When generating RPC protocol messages, it's strictly needed to have a
continuous line of numbers or RPC messages. However in case anyone
tries backporting some functionality and will skip a number, there is
a possibility to make the daemon segfault with newer virsh (version
to fix the build on kFreeBSD.
References:
https://buildd.debian.org/status/fetch.php?pkg=libvirt&arch=kfreebsd-amd64&ver=0.9.12-2&stamp=1339698841
---
src/util/virnetlink.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/util/virnetlink.h b/src/util/virnetlink.h
index bafe8ca..acd88b7
These are the patches Debian is currently carrying on 0.9.12. Most are
straight cherry-picks. Since we're maintaining 0.9.12 for our current
stable release I'm happy to push these to v0.9.12-maint.
Ferenc Wágner (1):
Fix race condition when destroying guests
Guido Günther (1):
Include stdint
On Wed, Sep 11, 2013 at 03:36:31PM +0200, Guido Günther wrote:
> The F15 PXE images were removed so switch to F19.
> ---
> conf/default.cfg | 8
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/conf/default.cfg b/conf/default.cfg
> index a303d88..143fba9 100644
> --- a/
The F15 PXE images were removed so switch to F19.
---
conf/default.cfg | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/conf/default.cfg b/conf/default.cfg
index a303d88..143fba9 100644
--- a/conf/default.cfg
+++ b/conf/default.cfg
@@ -69,8 +69,8 @@ kernels = (
h
On 09/10/2013 04:26 PM, Diego Woitasen wrote:
> Useful to set custom forwarders instead of using the contents of
> /etc/resolv.conf. It helps me to setup dnsmasq as local nameserver to resolv
> VM
> domain names from domain 0, when domain option is used.
Dang! I had promised to look at this last
From: "Daniel P. Berrange"
The polkit access driver used the wrong permission names for checks
on storage pools, volumes and node devices. This led to them always
being denied access.
Signed-off-by: Daniel P. Berrange
---
src/access/viraccessdriverpolkit.c | 6 +++---
1 file changed, 3 inserti
Hi everyone
I'm using Ubuntu 12.04.3 LTS with the Xen hypervisor
installed (package version: 4.1.2-2ubuntu2.10),
and Libvirt v0.10.2.2 (that interacts with Xen through
the libxl driver).
I performed some adjustments to have the required
features:
- Switch from Xend to libxl:
I created ups
On Wed, Sep 11, 2013 at 11:15:02AM +0800, Gao feng wrote:
> This patch introduces virDBusIsServiceEnabled, we can use
> this method to get if the service is supported.
>
> In one case, if org.freedesktop.machine1 is unavailable on
> host, we should skip creating machine through systemd.
>
> Signe
This fixes the description of virConnectGetType() API function in
API documentation to match the real functionality that it can be
used to get driver name.
Signed-off-by: Michal Novotny
---
src/libvirt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/libvirt.c b/src/li
On Wed, Sep 11, 2013 at 04:07:54PM +0800, Gao feng wrote:
> Move the unmounting private or useless filesystems for
> container to this function.
>
> Signed-off-by: Gao feng
> ---
> src/lxc/lxc_container.c | 98
> +++--
> 1 file changed, 55 insertions(
On Wed, Sep 11, 2013 at 02:13:43PM +0200, Guido Günther wrote:
> On Wed, Sep 11, 2013 at 12:56:10PM +0100, Daniel P. Berrange wrote:
> > On Wed, Sep 11, 2013 at 01:41:21PM +0200, Guido Günther wrote:
> > > Adjust to the new URL as describe in:
> > >
> > > http://dl.fedoraproject.org/pub/fedora/l
On Wed, Sep 11, 2013 at 12:56:10PM +0100, Daniel P. Berrange wrote:
> On Wed, Sep 11, 2013 at 01:41:21PM +0200, Guido Günther wrote:
> > Adjust to the new URL as describe in:
> >
> > http://dl.fedoraproject.org/pub/fedora/linux/releases/15/README
> > ---
> > conf/default.cfg | 8
> >
On Wed, Sep 11, 2013 at 01:41:21PM +0200, Guido Günther wrote:
> Adjust to the new URL as describe in:
>
> http://dl.fedoraproject.org/pub/fedora/linux/releases/15/README
> ---
> conf/default.cfg | 8
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/conf/default.
On 09/11/2013 01:17 PM, Daniel P. Berrange wrote:
> On Wed, Sep 11, 2013 at 10:58:53AM +0200, Ján Tomko wrote:
>> Commit ef5d51d fixed a crash for numatune with auto placement and
>> nodeset specified:
>>
>>
>>
>> ---
>> ...qemuxml2argv-numatune-auto-nodeset-invalid.args | 4 +++
>> .../qe
Adjust to the new URL as describe in:
http://dl.fedoraproject.org/pub/fedora/linux/releases/15/README
---
conf/default.cfg | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/conf/default.cfg b/conf/default.cfg
index a303d88..a8ffecd 100644
--- a/conf/default.cfg
+
Hi Daniel,
We are writing a scale test scenario for our client. So for the purpose of
scale test with the real code we can't request them to change the URI's, so
not too much scope on changing the client.
Also we are having some simulated java object of Domain, hypervisor(kvm),
etc for which we ha
On Tue, Sep 10, 2013 at 05:26:10PM -0300, Diego Woitasen wrote:
> Useful to set custom forwarders instead of using the contents of
> /etc/resolv.conf. It helps me to setup dnsmasq as local nameserver to resolv
> VM
> domain names from domain 0, when domain option is used.
>
> Signed-off-by: Diego
On Wed, Sep 11, 2013 at 10:58:53AM +0200, Ján Tomko wrote:
> Commit ef5d51d fixed a crash for numatune with auto placement and
> nodeset specified:
>
>
>
> ---
> ...qemuxml2argv-numatune-auto-nodeset-invalid.args | 4 +++
> .../qemuxml2argv-numatune-auto-nodeset-invalid.xml | 31
> +++
On Mon, Sep 09, 2013 at 05:01:35PM +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Remove ATTRIBUTE_NONNULL and ATTRIBUTE_UNUSED
Is that because we don't have internal.h? Wouldn't it make
sense to move these things over?
Cheers,
-- Guido
>
> Signed-off-by: Daniel P. Berrange
On Wed, Sep 11, 2013 at 04:30:13PM +0530, Arun Viswanath wrote:
> Hi,
>
> Thanks for the response.
>
> I've used the URI:
> "test+ssh:///default" and the connection is successful and with
> that connection I issued getCapabilities and its result is attached.
> I'm not sure how is result xml gener
On Mon, Sep 09, 2013 at 05:01:37PM +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> We don't have access to the libvirt memory APIs to replace
> VIR_FREE with free().
Wouldn't it be easier to port over VIR_FREE? It has some nice features
after all.
Cheers,
-- Guido
>
> Signed
ping
On Sun, Sep 8, 2013 at 2:42 PM, Osier Yang wrote:
> [..]
>
>
>
>>> + *
+ * If 0 is passed as @flags, libvirt will choose the best way, and
won't
+ * include agent in it.
>>>
>>> I'm thinking if we don't need to be so complicated, by defaulting to one
>>> of _LEASE
Hi,
Thanks for the response.
I've used the URI:
"test+ssh:///default" and the connection is successful and with
that connection I issued getCapabilities and its result is attached.
I'm not sure how is result xml generated by the files in the /examples
folder.
Will you please explain how is this x
1 - 100 of 116 matches
Mail list logo