We want to use more than 200+ device. Libvirt does not use multi
function PCI device and PCI-to-PCI bridge. So we can not use more
than 200+ device if it's a PCI device or it's controller is a PCI
device.
This patch adds the support of multi function PCI device. It
does not support to hot
2011/5/8 Jamie Strandboge ja...@strandboge.com:
On Sat, 7 May 2011 13:13:41 +0200, Matthias Bolte
matthias.bo...@googlemail.com wrote:
---
src/security/virt-aa-helper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/security/virt-aa-helper.c
This is really a dual mail. The main point is announcing the
availability of the livirt-test-API, a GPL'ed Python based test
suite for libvirt functional testing. It was developped independantly
of the TCK by our QA group here in Beijing China and is now made
open-source. The software
2011/5/9 Eric Blake ebl...@redhat.com:
On 05/07/2011 06:28 AM, Matthias Bolte wrote:
---
daemon/Makefile.am | 20 -
daemon/qemu_dispatch.blacklist | 3 +
daemon/qemu_dispatch.whitelist | 1 +
daemon/remote_dispatch.blacklist | 37
gcc only reports them when compiling with -O3.
---
src/util/interface.c |2 +-
tools/virsh.c|2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/interface.c b/src/util/interface.c
index 5e1987a..04a922c 100644
--- a/src/util/interface.c
+++
At 05/10/2011 02:40 PM, Matthias Bolte Write:
gcc only reports them when compiling with -O3.
I compile libvirt with -O3, and recieve the same warnings.
ACK.
---
src/util/interface.c |2 +-
tools/virsh.c|2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
This patch series implements a feature of injecting NMI to guest,
which is accessible via new virDomainInjectNMI API and
'inject-nmi' command in virsh.
Lai Jiangshan (6):
inject-nmi: Defining the public API
inject-nmi: Defining the internal API
inject-nmi: Implementing the public API
---
src/libvirt.c | 44
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index abacf85..f468b61 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -5217,6 +5217,50 @@ error:
}
/**
+ *
---
src/qemu/qemu_driver.c | 46 +-
src/qemu/qemu_monitor.c | 14
src/qemu/qemu_monitor.h |2 +
src/qemu/qemu_monitor_json.c | 27
src/qemu/qemu_monitor_json.h |1 +
---
include/libvirt/libvirt.h.in |2 ++
src/libvirt_public.syms |5 +
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index 5783303..0e1e27a 100644
--- a/include/libvirt/libvirt.h.in
+++
---
tools/virsh.c | 35 +++
tools/virsh.pod |4
2 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index 2b16714..c2dabd7 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -2912,6 +2912,40 @@
---
daemon/remote_generator.pl |2 +-
src/remote/remote_driver.c |2 +-
src/remote/remote_protocol.x |8 +++-
src/remote_protocol-structs |4
4 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/daemon/remote_generator.pl b/daemon/remote_generator.pl
index
On Mon, May 09, 2011 at 12:51:24PM -0600, Eric Blake wrote:
On 05/09/2011 03:21 AM, Daniel P. Berrange wrote:
+my $fixup = $^O eq linux;
I guess I'll see what happens when I try this on Cygwin, but if there
are any followups needed, it should be separate patches. As is, cygwin
already
On Mon, May 09, 2011 at 10:07:49PM +0100, Richard W.M. Jones wrote:
On Mon, May 09, 2011 at 04:49:48PM -0400, Stefan Berger wrote:
On 05/09/2011 05:26 AM, Daniel P. Berrange wrote:
On Fri, May 06, 2011 at 10:39:52AM -0400, Stefan Berger wrote:
This patch fixes the creation of VM images.
On Mon, May 09, 2011 at 04:49:48PM -0400, Stefan Berger wrote:
On 05/09/2011 05:26 AM, Daniel P. Berrange wrote:
On Fri, May 06, 2011 at 10:39:52AM -0400, Stefan Berger wrote:
This patch fixes the creation of VM images. Previously, FC12 images were
created but the files necessary for FC12
On Mon, May 09, 2011 at 03:45:29PM -0600, Eric Blake wrote:
On 05/07/2011 06:28 AM, Matthias Bolte wrote:
---
daemon/Makefile.am | 20 -
daemon/qemu_dispatch.blacklist |3 +
daemon/qemu_dispatch.whitelist |1 +
daemon/remote_dispatch.blacklist |
On Tue, May 10, 2011 at 10:16:42AM +0100, Daniel P. Berrange wrote:
The reason I thought we'd use libguestfs appliance directly is thta
I thought it could be useful to have the guestfs daemon running in
the image, so that the test suite can easily query the state of the
guest OS
We probably
Hi all,
This patchset enables us to configure inactive domains' CPU affinity setting.
v2 - v3:
- rebase
*[PATCH 1/4] vcpupin: inroduce a new libvir API (virDomainPinVcpuFlags)
*[PATCH 2/4] vcpupin: implement the code to address the new API in the qemu
driver
*[PATCH 3/4] vcpupin:
On Mon, May 09, 2011 at 01:12:10PM -0700, David L Stevens wrote:
This patch removes remaining pieces of IP address learning.
Do we actually want todo this ? This is effectively causing a
regression in functionality for anyone who's relying on the
current IP learning support, but who does not
This patch implements the code to address the new API (virDomainPinVcpuFlags)
in the qemu driver.
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
src/qemu/qemu_driver.c | 100 +
1 file changed, 76 insertions(+), 24 deletions(-)
Index:
This patch introduces a new libvirt API (virDomainPinVcpuFlags)
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
include/libvirt/libvirt.h.in |6 +++
src/driver.h |7 +++
src/esx/esx_driver.c |1
src/libvirt.c| 83
This patch implements the remote protocol to address the new API
(virDomainPinVcpuFlags).
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
src/remote/remote_driver.c |2 +-
src/remote/remote_protocol.x | 10 +-
src/remote_protocol-structs |9 +
3 files
On Mon, May 09, 2011 at 09:28:49PM +0200, Michal Privoznik wrote:
---
src/libvirt.c | 129
+
1 files changed, 129 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index abacf85..d9b659d 100644
---
This patch adds the new option (--live, --config and --current) to
virsh vcpupin command. The behavior of above aption is the same as
that of virsh setmem, virsh setvcpus, and whatnot.
When the --config option is specified, the command affects a persistent domain,
while --live option is
On Mon, May 09, 2011 at 09:28:53PM +0200, Michal Privoznik wrote:
---
src/test/test_driver.c | 116 ++-
1 files changed, 113 insertions(+), 3 deletions(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 83dcf1a..9ae6e7a 100644
On Fri, May 06, 2011 at 10:00:53AM -0500, Doug Goldstein wrote:
Allow the CA certificate to come from the user's home directory or from
the global location independently of the client certificate/key pair.
Mostly for the case when each user on a system has their own cert/key
pair but the
On Mon, May 09, 2011 at 09:28:48PM +0200, Michal Privoznik wrote:
---
src/driver.h | 12
src/esx/esx_interface_driver.c |3 +++
src/interface/netcf_driver.c |3 +++
src/phyp/phyp_driver.c |5 -
src/remote/remote_driver.c |3
On Fri, May 06, 2011 at 01:26:09PM -0400, Cole Robinson wrote:
Actually execs the argv/env we've generated, replacing the current process.
Kind of has a limited usage, but allows us to use virCommand in LXC
driver to launch the 'init' process
Signed-off-by: Cole Robinson crobi...@redhat.com
On Mon, May 09, 2011 at 09:28:50PM +0200, Michal Privoznik wrote:
---
src/remote/remote_driver.c |6 +++---
src/remote/remote_protocol.x | 18 +-
src/remote_protocol-structs |9 +
3 files changed, 29 insertions(+), 4 deletions(-)
diff --git
On Fri, May 06, 2011 at 01:26:07PM -0400, Cole Robinson wrote:
v2:
Shorten a few virCommand calls
s/remain/retain/
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/lxc/lxc_driver.c | 185
++
1 files changed, 36
On Fri, May 06, 2011 at 01:26:10PM -0400, Cole Robinson wrote:
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/lxc/lxc_container.c | 33 ++---
1 files changed, 10 insertions(+), 23 deletions(-)
diff --git a/src/lxc/lxc_container.c
On Mon, May 09, 2011 at 09:28:51PM +0200, Michal Privoznik wrote:
---
tools/virsh.c | 59
+
1 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index 2b16714..60efa10 100644
---
On Mon, May 09, 2011 at 05:24:09PM +0800, Lai Jiangshan wrote:
These VIR_0 APIs make us confused, use the non-0-suffix APIs instead.
How these coversions works? The magic is using ##.
#define high_levle_api(fmt, ...) low_levle_api(fmt, ##__VA_ARGS__)
When __VA_ARGS__ is empty, ## will
On Fri, May 06, 2011 at 10:01:04AM -0500, Doug Goldstein wrote:
Update the documentation to mention that the CA certificate and the
client cert/key pair can come from the user's location or the global
location independent of each other.
Signed-off-by: Doug Goldstein car...@gentoo.org
---
On Fri, May 06, 2011 at 01:26:11PM -0400, Cole Robinson wrote:
That way we can log the 'init' argv for debugging.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/lxc/lxc_container.c | 41 +
1 files changed, 25 insertions(+), 16
On Mon, May 09, 2011 at 04:04:41PM +0200, Matthias Bolte wrote:
2011/5/9 Jiri Denemark jdene...@redhat.com:
virsh didn't call virInitialize(), which (among other things)
initializes virLastErr thread local variable. As a result of that, virsh
could just segfault in
On Fri, May 06, 2011 at 01:26:08PM -0400, Cole Robinson wrote:
Log the full command line and a timestamp like we do for QEMU
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/lxc/lxc_driver.c | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
diff
On 05/10/2011 05:17 AM, Daniel P. Berrange wrote:
On Mon, May 09, 2011 at 04:49:48PM -0400, Stefan Berger wrote:
On 05/09/2011 05:26 AM, Daniel P. Berrange wrote:
On Fri, May 06, 2011 at 10:39:52AM -0400, Stefan Berger wrote:
This patch fixes the creation of VM images. Previously, FC12 images
Recent versions of Xen disable the virtual HPET by default. This is
usually more precise because tick policies are not implemented for
the HPET in Xen. However, there may be several reasons to control
the HPET manually: 1) to test the emulation; 2) because distros may
provide the knob while
This patch series add support for enabling or disabling the HPET
in Xen domains. It's split in two because I didn't have means to test
the libxl part.
Paolo Bonzini (2):
xen: parse and generate hpet item in sxpr
libxl: support enabling the HPET
src/libxl/libxl_conf.c
libxl accepts hpet configuration in its domain info struct. Parse the
domain definition's clock element in order to set the value.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
src/libxl/libxl_conf.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git
Hi all,
starting with kernel 2.6.38 macvtap supports a 'passthru' mode for
attaching virtual functions
of a SRIOV capable network card directly to a VM.
This patch adds the capability to configure such a device.
Signed-off-by: Dirk Herrendoerfer d.herrendoerfer at
herrendoerfer.name
diff
On Tue, May 10, 2011 at 06:38:15AM -0400, Stefan Berger wrote:
On 05/10/2011 05:17 AM, Daniel P. Berrange wrote:
On Mon, May 09, 2011 at 04:49:48PM -0400, Stefan Berger wrote:
On 05/09/2011 05:26 AM, Daniel P. Berrange wrote:
On Fri, May 06, 2011 at 10:39:52AM -0400, Stefan Berger wrote:
This
---
Notes:
Version 2:
- rebased
- unsigned int flags
src/libvirt.c | 51 +++
1 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index abacf85..571eb97 100644
--- a/src/libvirt.c
+++
This new API solves several problems:
- calling virDomainGetInfo for just getting domain status is an overkill since
it may result in sending requests to guest OS
- since virDomainGetInfo can hang when guest OS is not responding and it is
used by virsh list, listing domains can hang
-
---
Notes:
Version 2:
- rebased
- unsigned int flags
daemon/remote.c | 33 +
daemon/remote_generator.pl |3 ++-
src/remote/remote_protocol.x | 13 -
src/remote_protocol-structs |8
4 files changed, 55
---
Notes:
Version 2:
- rebased
- unsigned int flags
- noGetState renamed as useGetInfo
tools/virsh.c | 195 +++--
1 files changed, 162 insertions(+), 33 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index
---
Notes:
Version 2:
- rebased
- unsigned int flags parameter
- avoid changing xenUnifiedDriver internal callback struct
src/driver.h |6 ++
src/esx/esx_driver.c |1 +
src/libxl/libxl_driver.c |1 +
src/lxc/lxc_driver.c |1 +
---
Notes:
Version 2:
- rebased
- unsigned int flags
daemon/remote_generator.pl |3 ++-
src/remote/remote_driver.c | 35 ++-
2 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/daemon/remote_generator.pl b/daemon/remote_generator.pl
This API is supposed to replace virDomainGetInfo when the only purpose
of calling it is getting current domain status.
---
Notes:
Version 2:
- rebased
- unsigned int flags parameter
- updated version info in public.syms
include/libvirt/libvirt.h.in| 56
Add public API for taking screenshots of current domain console.
* include/libvirt/libvirt.h.in: add virDomainScreenshot
* src/libvirt_public.syms: Export new symbol
---
include/libvirt/libvirt.h.in |7 +++
src/libvirt_public.syms |5 +
2 files changed, 12 insertions(+), 0
Reason is currently always set to 0 (i.e., *_UNKNOWN).
---
Notes:
Version 2:
- rebased
- unsigned int flags
- simplified implementation in esx driver per Matthias' suggestion
- call internal xen drivers directly instead of going through
xenUnifiedDriver
src/esx/esx_driver.c
This series adds support for taking screenshots of a running domain console.
The iohelper was added a new argument - delete file after transfer. This is
needed, because the screenshot is written to file and asynchronously transferred
to client.
New API is accessible via virsh screenshot domain
A qemu domain can get paused when libvirtd is stopped (e.g., because of
I/O error) so we should check its current state when reconnecting to it.
---
Notes:
Version 2:
- new patch
src/qemu/qemu_monitor.c | 20
src/qemu/qemu_monitor.h |1 +
* src/libvirt.c: new function
---
src/libvirt.c | 56
1 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index abacf85..2320ddb 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -2412,6 +2412,62
* src/driver.h: Stub code for new API
* src/esx/esx_driver.c, src/libxl/libxl_driver.c,
src/lxc/lxc_driver.c, src/openvz/openvz_driver.c,
src/phyp/phyp_driver.c, src/qemu/qemu_driver.c,
rc/remote/remote_driver.c, rc/test/test_driver.c,
src/uml/uml_driver.c, src/vbox/vbox_tmpl.c,
* src/remote/remote_protocol.x: Wire protocol definition
* daemon/remote.c: New function
* daemon/remote_generator.pl: Don't generate remote function body
* src/remote/remote_driver.c: Client side
* src/remote_protocol-structs: Add structures
---
daemon/remote.c | 57
* tools/virsh.c: Add screenshot command
* tools/virsh.pod: Document new command
---
tools/virsh.c | 90 +++
tools/virsh.pod |4 ++
2 files changed, 94 insertions(+), 0 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index
This is needed if we want to transfer a temporary file. If the
transfer is done with iohelper, we might run into a race condition,
where we unlink() file before iohelper is executed.
* src/fdstream.c, src/fdstream.h,
src/util/iohelper.c: Add new option
* src/lxc/lxc_driver.c,
* src/qemu/qemu_driver.c: new qemuDomainScreenshot() function
* src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h,
src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_json.h,
src/qemu/qemu_monitor_text.c, src/qemu/qemu_monitor_text.h:
Monitor command
---
src/qemu/qemu_driver.c | 80
* src/vbox/vbox_tmpl.c: New vboxDomainScreenshot() function
---
src/vbox/vbox_tmpl.c | 113 ++
1 files changed, 113 insertions(+), 0 deletions(-)
diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c
index 9a110f9..fd34a12 100644
---
On Mon, May 09, 2011 at 17:24:09 +0800, Lai Jiangshan wrote:
These VIR_0 APIs make us confused, use the non-0-suffix APIs instead.
How these coversions works? The magic is using ##.
#define high_levle_api(fmt, ...) low_levle_api(fmt, ##__VA_ARGS__)
When __VA_ARGS__ is empty, ## will
2011/5/10 Michal Privoznik mpriv...@redhat.com:
Add public API for taking screenshots of current domain console.
* include/libvirt/libvirt.h.in: add virDomainScreenshot
* src/libvirt_public.syms: Export new symbol
---
include/libvirt/libvirt.h.in | 7 +++
src/libvirt_public.syms
On Tue, May 10, 2011 at 15:39:07 +0200, Jiri Denemark wrote:
---
Notes:
Version 2:
- rebased
- unsigned int flags
- noGetState renamed as useGetInfo
tools/virsh.c | 195
+++--
1 files changed, 162 insertions(+), 33
On Tue, May 10, 2011 at 04:28:22PM +0200, Jiri Denemark wrote:
On Mon, May 09, 2011 at 17:24:09 +0800, Lai Jiangshan wrote:
These VIR_0 APIs make us confused, use the non-0-suffix APIs instead.
How these coversions works? The magic is using ##.
#define high_levle_api(fmt, ...)
On 05/09/2011 10:50 AM, Daniel P. Berrange wrote:
Version 2.0.0 or yajl changed API. It is fairly trivial for us to
cope with both APIs in libvirt, so adapt.
* configure.ac: Probe for yajl2 API
* src/util/json.c: Conditional support for yajl2 API
---
configure.ac|8 ++
On 05/09/2011 03:24 AM, Lai Jiangshan wrote:
These VIR_0 APIs make us confused, use the non-0-suffix APIs instead.
How these coversions works? The magic is using ##.
#define high_levle_api(fmt, ...) low_levle_api(fmt, ##__VA_ARGS__)
When __VA_ARGS__ is empty, ## will swallow the , in
On 05/09/2011 10:58 AM, Daniel P. Berrange wrote:
Introduce a virProcessKill function that can be safely called
even when the job mutex is held. This allows virDomainDestroy
to kill any VM even if it is asleep in a monitor job. The PID
will die and the thread asleep on the monitor will then
2011/5/10 Wen Congyang we...@cn.fujitsu.com:
At 05/10/2011 02:40 PM, Matthias Bolte Write:
gcc only reports them when compiling with -O3.
I compile libvirt with -O3, and recieve the same warnings.
ACK.
Thanks, pushed.
Matthias
--
libvir-list mailing list
libvir-list@redhat.com
2011/5/10 Daniel P. Berrange berra...@redhat.com:
On Mon, May 09, 2011 at 03:45:29PM -0600, Eric Blake wrote:
On 05/07/2011 06:28 AM, Matthias Bolte wrote:
---
daemon/Makefile.am | 20 -
daemon/qemu_dispatch.blacklist | 3 +
daemon/qemu_dispatch.whitelist
2011/5/1 Matthias Bolte matthias.bo...@googlemail.com:
As we're currently in feature freeze, this series is meant for 0.9.2.
It includes mostly generator improvments and general cleanups.
10/12 is a race condition fix, but it's not critical because it's not
that simple to trigger.
Matthias
Daniel P. Berrange berra...@redhat.com wrote on 05/10/2011 02:28:25
AM:
From: Daniel P. Berrange berra...@redhat.com
To: David Stevens/Beaverton/IBM@IBMUS
Cc: libvirt-l...@redhat.com
Date: 05/10/2011 02:32 AM
Subject: Re: [libvirt] [PATCH 9/9] add DHCP snooping support to nwfilter
On
On 05/10/2011 08:52 AM, Eric Blake wrote:
On 05/09/2011 03:24 AM, Lai Jiangshan wrote:
These VIR_0 APIs make us confused, use the non-0-suffix APIs instead.
How these coversions works? The magic is using ##.
#define high_levle_api(fmt, ...) low_levle_api(fmt, ##__VA_ARGS__)
When
On Tue, May 10, 2011 at 05:23:23PM +0200, Matthias Bolte wrote:
2011/5/10 Daniel P. Berrange berra...@redhat.com:
On Mon, May 09, 2011 at 03:45:29PM -0600, Eric Blake wrote:
On 05/07/2011 06:28 AM, Matthias Bolte wrote:
---
daemon/Makefile.am | 20 -
glibc 2.13.90 has obsoleted its rpc implementation in favour of
the one provided by the TI-RPC library:
* The RPC implementation in libc is obsoleted. Old programs keep working
but new programs cannot be linked with the routines in libc anymore.
Programs in need of RPC functionality must
2011/5/8 Richard W.M. Jones rjo...@redhat.com mailto:rjo...@redhat.com
On Sun, May 08, 2011 at 10:56:54AM +0800, guan qin wrote:
The second solution you mentioned may be difficult , because
when I assign
the ethX to the VM, the X in the 'ethX' is random (the 'X' in
the
On 05/10/2011 05:35 AM, Daniel P. Berrange wrote:
On Mon, May 09, 2011 at 09:28:47PM +0200, Michal Privoznik wrote:
API agreed on in:
https://www.redhat.com/archives/libvir-list/2011-May/msg00026.html
---
include/libvirt/libvirt.h.in |7 +++
src/libvirt_public.syms |7
On 05/10/2011 05:38 AM, Daniel P. Berrange wrote:
On Mon, May 09, 2011 at 09:28:49PM +0200, Michal Privoznik wrote:
---
src/libvirt.c | 129 +
1 files changed, 129 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c
2011/5/10 Daniel P. Berrange berra...@redhat.com:
On Tue, May 10, 2011 at 05:23:23PM +0200, Matthias Bolte wrote:
2011/5/10 Daniel P. Berrange berra...@redhat.com:
On Mon, May 09, 2011 at 03:45:29PM -0600, Eric Blake wrote:
On 05/07/2011 06:28 AM, Matthias Bolte wrote:
---
References:
- https://www.redhat.com/archives/libvir-list/2011-May/msg00210.html
- https://www.redhat.com/archives/libvir-list/2011-May/msg00287.html
---
src/qemu/qemu_domain.c|6 +++
src/qemu/qemu_domain.h|7
src/qemu/qemu_driver.c| 86
On Tue, May 10, 2011 at 05:42:06PM +0200, Christophe Fergeau wrote:
glibc 2.13.90 has obsoleted its rpc implementation in favour of
the one provided by the TI-RPC library:
* The RPC implementation in libc is obsoleted. Old programs keep working
but new programs cannot be linked with the
On Tue, May 10, 2011 at 04:32:57PM +0100, Daniel P. Berrange wrote:
Yeah, either we duplicate the VIR_CONNECT_RO flag checks in
the remote dispatch, or we could actually generate the libvirt.c
and driver.h files too, based on the RPC.
advocacy
More code generation is better. Here is all the
On 05/10/2011 10:13 AM, Daniel P. Berrange wrote:
ACK, but someone should file a BZ about the duplicated definitions to
get them fixed, because we need to be able to build with -Werror enabled
Cygwin is facing the same problem with duplicate definitions - solve it
for one platform, and you'll
On 05/10/2011 09:29 AM, Eric Blake wrote:
##__VA_ARGS__ is a GNU extension; it does not work on all C99 compilers.
I'm worried that this is not portable.
But, we CAN do:
#ifdef __GNUC__
# define high_level(fmt, ...) low_level(fmt, ##__VA_ARGS__)
#else
suitably expanded (and we can
On 05/10/2011 12:21 AM, Daniel Veillard wrote:
I hesitated between creating a new doc section and trying to reuse
one existing, but it didn't fit well in any of the existing section,
though that could have been added under Download or Related links
but it was feeling a bit weird in both case
On 05/10/2011 05:49 AM, Daniel P. Berrange wrote:
On Fri, May 06, 2011 at 01:26:11PM -0400, Cole Robinson wrote:
That way we can log the 'init' argv for debugging.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/lxc/lxc_container.c | 41 +
On 05/10/2011 03:13 AM, Daniel P. Berrange wrote:
On Tue, May 10, 2011 at 04:26:00PM +0800, Lai Jiangshan wrote:
This patch series implements a feature of injecting NMI to guest,
which is accessible via new virDomainInjectNMI API and
'inject-nmi' command in virsh.
Lai Jiangshan (6):
On 05/10/2011 02:26 AM, Lai Jiangshan wrote:
---
daemon/remote_generator.pl |2 +-
src/remote/remote_driver.c |2 +-
src/remote/remote_protocol.x |8 +++-
src/remote_protocol-structs |4
4 files changed, 13 insertions(+), 3 deletions(-)
diff --git
On 05/10/2011 02:26 AM, Lai Jiangshan wrote:
src/xen/xen_driver.c |1 +
src/xen/xen_driver.h |1 +
No need to modify the xenUnified callback struct.
+++ b/src/xen/xen_driver.h
@@ -108,6 +108,7 @@ struct xenUnifiedDriver {
virDrvDomainGetSchedulerType
On 05/10/2011 02:26 AM, Lai Jiangshan wrote:
---
src/libvirt.c | 44
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index abacf85..f468b61 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@
2011/5/9 Eric Blake ebl...@redhat.com:
On 05/07/2011 06:28 AM, Matthias Bolte wrote:
This matches the public API and helps to get rid of some speical case
s/speical/special/
code in the remote generator.
Rename driver API functions and XDR protocol structs.
No functional change included
Hi,
As far as I can tell, if QEMU exits abruptly or with a non-zero status
code, libvirt treats this as a domain destruction given no real
indication to the user that something bad happened.
But libvirt does have a crashed state for domains, it's just not used
for QEMU guests.
I was
2011/5/9 Eric Blake ebl...@redhat.com:
On 05/07/2011 06:28 AM, Matthias Bolte wrote:
---
daemon/remote_generator.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemon/remote_generator.pl b/daemon/remote_generator.pl
index b06e51a..8d62c37 100755
---
2011/5/9 Eric Blake ebl...@redhat.com:
On 05/07/2011 06:28 AM, Matthias Bolte wrote:
Rename u_int and unsigned to unsigned int. This gets rid of some special
case code in the generator.
---
daemon/remote_generator.pl | 10 +++---
src/remote/remote_protocol.x | 72
2011/5/9 Eric Blake ebl...@redhat.com:
On 05/07/2011 06:28 AM, Matthias Bolte wrote:
Anchor matches at the beginning of a line.
Specialize some general matches.
Add some comments to special cases.
---
daemon/remote_generator.pl | 172
+++-
1
On Tue, May 10, 2011 at 01:26:39PM -0500, Anthony Liguori wrote:
As far as I can tell, if QEMU exits abruptly or with a non-zero
status code, libvirt treats this as a domain destruction given no
real indication to the user that something bad happened.
libvirtd raises an event. There is (was?)
I should maybe add that if you're going to do this, you should think
about having a single generator program.
There's nothing worse for maintainability than having scripts
generating files generating files generating code, and no one can tell
what generates what.
In libguestfs there's never a
The following series converts all users of several older command
wrappers (virRunWithHook, virExecDaemonize, and virExec) to use
virCommand. The remaining functionality is then moved out of
util.c and into command.c
Cole Robinson (16):
remote_driver: Convert virExecDaemonize usage to virCommand
This allows a caller to unset a hook function for an existing virCommand
instance. Will be used in storage_backend.c
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/util/command.c |2 +-
src/util/command.h |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
All callers were expecting argv logging, so the split is unneeded.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/util/util.c | 86 ++
1 files changed, 35 insertions(+), 51 deletions(-)
diff --git a/src/util/util.c
1 - 100 of 129 matches
Mail list logo