[libvirt] (no subject)
by Daniel P. Berrange
Repost of
http://www.redhat.com/archives/libvir-list/2010-February/msg00177.html
The virsh output is now scaled to show KB/MB as needed, instead of
always bytes.
The public API gained extra status
VIR_DOMAIN_JOB_COMPLETED = 3, /* Job has finished, but isn't cleaned up */
VIR_DOMAIN_JOB_FAILED = 4, /* Job hit error, but isn't cleaned up */
VIR_DOMAIN_JOB_CANCELLED = 6, /* Job was aborted, but isn't cleaned up */
to allow to more easily detecting end of a job, once we allow
for truely async usage
14 years, 10 months
[libvirt] Hypervisor raw options
by Daniel Dehennin
Hello,
I wonder if it's possible to add hypervisor pass-through options, I add
some usage of kvm -startdate and need to use a script which call kvm
with the desired option.
Something like:
<emulator>/usr/bin/kvm</emulator>
<emulator-options>
<option>-option1</option>
<option>-option2</option>
</emulator-options>
The several <option/> will be passed to the <emulator/> command.
Regards.
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
14 years, 10 months
[libvirt] reload libvirtd.conf has a little problem.
by Osier Yang
hi
When libvirtd is running, I changed "unix_sock_ro_perms=0777" into
""unix_sock_ro_perms=0755", and then reload the configuration with:
kill -SIGHUP `pidof libvirtd` or "service libvirtd reload"
the permission of /var/lib/libvirt/libvirt-sock-ro still is 0777,
but not 0755.
and after "service libvirtd restart", the permission is changed
into 0755.
think it's a little problem.
libvirt version: libvirt-0.7.6-1.fc12.x86_64
Thanks and Regards
osier
14 years, 10 months
[libvirt] [PATCH] build: avoid warning about unused variables
by Jim Meyering
>From 8ddff3e6cdccc2b4289509c6941b43f2ddf8e643 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering(a)redhat.com>
Date: Thu, 25 Feb 2010 14:19:33 +0100
Subject: [PATCH] build: avoid warning about unused variables
* tools/virsh.c (cmdCPUBaseline): Remove declarations of unused
variables, p and cur.
---
tools/virsh.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index 5fdbbe5..89eefcf 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -7048,12 +7048,11 @@ cmdCPUBaseline(vshControl *ctl, const vshCmd *cmd)
int found;
int ret = TRUE;
char *buffer;
- char *p;
char *result = NULL;
const char **list = NULL;
unsigned int count = 0;
xmlDocPtr doc = NULL;
- xmlNodePtr node_list, cur;
+ xmlNodePtr node_list;
xmlXPathContextPtr ctxt = NULL;
xmlSaveCtxtPtr sctxt = NULL;
xmlBufferPtr buf = NULL;
--
1.7.0.401.g84adb
14 years, 10 months