This allows to have more servers in one daemon which helps isolating
some resources.
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
daemon/libvirtd.c | 101 ++---
docs/internals.html.in | 4 +-
docs/internals/rpc.html.in | 7 +
po/POTFILES.in
This is not going to be very widely used, but for some corner cases and
easier (unsafe) debugging, it might be nice.
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
daemon/libvirtd-config.c | 27 +--
daemon/libvirtd-config.h | 13 -
For now there are only CONNECT_OPEN and CONNECT_CLOSE procedures.
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
.gitignore | 1 +
src/Makefile.am| 17 --
src/admin/admin_protocol.x | 77 ++
Since this is just a new option for gendispatch, it looks more like a
cleanup. The only differences handled by it are connect pointers,
private pointers and API naming customs.
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
src/rpc/gendispatch.pl | 254
On Tue, Jun 16, 2015 at 11:18:49AM +0200, Cédric Bosdonnat wrote:
Add the qemu-nbd tasks to the container cgroup to make sure those will
be killed when the container is stopped. In order to reliably get the
qemu-nbd tasks PIDs, we use /sys/devices/virtual/block/DEV/pid as
qemu-nbd is
On Tue, Jun 16, 2015 at 11:16:00AM +0200, Cédric Bosdonnat wrote:
When running a KVM sandbox as root, the qemu process will run as
another user (likely qemu). We need to make sure this user can access
the vmlinux and initrd.img, sandbox.cfg and mounts.cfg files.
---
On Tue, Jun 16, 2015 at 11:16:03AM +0200, Cédric Bosdonnat wrote:
Let the user specify the format of the source disk image in host-image
mounts. This will allow us to mount other image types than raw ones.
---
.../libvirt-sandbox-builder-container.c| 10 +++
On Mon, Jun 15, 2015 at 08:36:47PM -0600, Jim Fehlig wrote:
Similar to commit 540c339a for the QEMU driver, rework reference
counting in the libxl driver to make it more deterministic and
the code a bit cleaner.
Signed-off-by: Jim Fehlig jfeh...@suse.com
---
I've been testing this patch
Just one of the simplest functions that returns string Clients: X
where X is the number of connected clients to daemon's first
subserver (the original one), so it can be tested using virsh, ipython,
etc.
The subserver is gathered by incrementing its reference
counter (similarly to getting qemu
Initial scratch of the admin library. It has its own virAdmConnectPtr
that inherits from virAbstractConnectPtr and thus trivially supports
error reporting.
There's pkg-config file added and spec-file adjusted as well.
Since the library should be minimalistic and not depend on any other
library,
You had only one job. That's what you can say about this example
binary. In future, parts of virsh that are usable for this binary
should be split into separate shell-utils and virt-admin should gain all
the cool features of virsh without too much code addition.
Signed-off-by: Martin Kletzander
Just the addition of VIR_FROM_ADMIN to the enum of error domains.
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
include/libvirt/virterror.h | 3 ++-
src/util/virerror.c | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/libvirt/virterror.h
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
.gitignore | 1 +
cfg.mk | 5 -
src/Makefile.am | 9 -
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index b60c16258739..e5e078889c14 100644
--- a/.gitignore
+++
No online docs are build from it since it doesn't really fit into our
document structure and new page will need to be created for it, but this
is at least a heads-up commit for easier parsing in order to build some
documentation (or python bindings) later on.
Signed-off-by: Martin Kletzander
For this to pe properly separated from other protocols used by the
server, there is second server added which allows access to the whole
virNetDaemon to its clients.
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
cfg.mk| 3 ++
daemon/Makefile.am| 32
Rename the test to virnetdaemontest and use virNetDaemon objects instead
of virNetServer inside.
Signed-off-by: Martin Kletzander mklet...@redhat.com
---
tests/Makefile.am | 10 +-
.../{virnetserverdata = virnetdaemondata}/README | 0
This is a real post for an Admin API to get in. Everything discussed
in previous posts should be a addressed.
I'll start a discussion later on today about the ideas for the APIs to
be added and the general near-future desing moves.
I'm also keeping the last three example patches in so you can
On Tue, Jun 16, 2015 at 11:18:48AM +0200, Cédric Bosdonnat wrote:
This function gets all the PIDs listed in /proc/PID/task. This will be
needed at least to move all qmeu-nbd tasks to the container cgroup.
---
src/libvirt_private.syms | 1 +
src/util/virprocess.c| 47
On Tue, Jun 16, 2015 at 11:16:01AM +0200, Cédric Bosdonnat wrote:
Fixes a regression introduced by d74b4350: the init-qemu tool expects
/dev/vd* sources to create the block device, while we were just having
vd*. Write again /dev/vd* to mounts.cfg.
---
On Tue, Jun 16, 2015 at 11:16:02AM +0200, Cédric Bosdonnat wrote:
To avoid troubles when mounting ext4 images, hard-code ext4 as mount
format instead of ext3.
---
libvirt-sandbox/libvirt-sandbox-builder-machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
ACK, no modern system
On Tue, Jun 16, 2015 at 11:42:52AM +0100, Daniel P. Berrange wrote:
On Tue, Jun 16, 2015 at 11:58:24AM +0200, Martin Kletzander wrote:
Initial scratch of the admin library. It has its own virAdmConnectPtr
that inherits from virAbstractConnectPtr and thus trivially supports
error reporting.
On Tue, Jun 16, 2015 at 18:43:32 +0800, Shanzhi Yu wrote:
The default value of the granularity is the image cluster size clamped
between 4096 and 65536. Libvirt should add a check for this otherwise
qemu will report error like below:
$ virsh blockcopy r7 vda /var/lib/libvirt/images/r7.s1
On Tue, Jun 16, 2015 at 01:16:56PM +0200, Martin Kletzander wrote:
On Tue, Jun 16, 2015 at 11:42:52AM +0100, Daniel P. Berrange wrote:
On Tue, Jun 16, 2015 at 11:58:24AM +0200, Martin Kletzander wrote:
Initial scratch of the admin library. It has its own virAdmConnectPtr
that inherits from
While the sandbox API is designed to be hypervisor agnostic,
the internal implementation needs work for each hypervisor
target. To avoid user errors at runtime, do an upfront check
to see if the URI they supply is suitable. Since we don't
support remote executions, we do a straight string
Allow debugging of the init process separately from debugging
of libvirt sandbox infrastructure, by using the new env var
LIBVIRT_SANDBOX_INIT_DEBUG=1.
---
libvirt-sandbox/libvirt-sandbox-builder-container.c | 3 +--
libvirt-sandbox/libvirt-sandbox-builder-machine.c | 3 +--
2 files changed, 2
This is just a handful of patches for libvirt-sandbox. Traditionally
I've just directly pushed code to libvirt-sandbox, but since we now
have a few other people working on it, I'll start posting my patches
for review first.
Daniel P. Berrange (3):
Support lzma and gzip compressed kernel modules
Modern distros like Fedora have started to compress their
kernel module files, so we can't simply read the file contents
and load the module. We have to first do a decompression step,
as the kernel won't do that itself. While Fedora uses lzma,
upstream kernels are also capable of using gzip.
On Tue, Jun 16, 2015 at 12:18:53PM +0100, Daniel P. Berrange wrote:
On Tue, Jun 16, 2015 at 01:16:56PM +0200, Martin Kletzander wrote:
On Tue, Jun 16, 2015 at 11:42:52AM +0100, Daniel P. Berrange wrote:
On Tue, Jun 16, 2015 at 11:58:24AM +0200, Martin Kletzander wrote:
Initial scratch of the
On Tue, Jun 16, 2015 at 01:30:54PM +0200, Martin Kletzander wrote:
On Tue, Jun 16, 2015 at 12:18:53PM +0100, Daniel P. Berrange wrote:
On Tue, Jun 16, 2015 at 01:16:56PM +0200, Martin Kletzander wrote:
On Tue, Jun 16, 2015 at 11:42:52AM +0100, Daniel P. Berrange wrote:
On Tue, Jun 16, 2015 at
101 - 129 of 129 matches
Mail list logo