Right on the top of
http://www.centos.org/docs/5/html/5.2/Virtualization/chap-Virtualization-Managing_guests_with_virsh.html,
it seems to imply you can load/send scripts to the vm guest using virsh.
Is that possible? How and what are the limitations? Can you query the vm
guest?
--
libvir-lis
to query a guests's hostname. Containers like LXC and OpenVZ allow to
set a hostname different from the hosts name and QEMU's guest agent
could provide similar functionality.
---
include/libvirt/libvirt.h.in |2 ++
src/driver.h |6 ++
src/libvirt.c| 45
The following patches allow to query a guest's hostname. Once we also have
support to set the hostname via the domain's xml we can also print it in "virsh
dominfo" by default so I left it out for now.
I left the version at 0.9.14. It'd be happy to change this ot 0.10 should we
settle for that one.
---
src/openvz/openvz_driver.c | 42 ++
1 file changed, 42 insertions(+)
diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c
index c9150e0..6046a60 100644
--- a/src/openvz/openvz_driver.c
+++ b/src/openvz/openvz_driver.c
@@ -234,6 +234,47
---
src/remote/remote_driver.c |1 +
src/remote/remote_protocol.x | 12 +++-
src/remote_protocol-structs |8
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 3314f80..5d1ce4d 100644
--- a/src/
to query the guest's hostname.
---
tools/virsh.c | 44
tools/virsh.pod |4
2 files changed, 48 insertions(+)
diff --git a/tools/virsh.c b/tools/virsh.c
index f9fe4b1..7c20202 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -14133,6 +1413
to retrieve a VEs config parameters as a single string. This will be
used by the upcoming domainGetHostname implementation.
---
src/libvirt_openvz.syms |2 +-
src/openvz/openvz_util.c | 32
src/openvz/openvz_util.h |1 +
3 files changed, 34 insertions(+)
Forgive my ignorance, but I'm trying to fill in some details for a Fedora
feature page:
https://fedoraproject.org/w/index.php?title=Features/Virt_Live_Snapshots
Yet things aren't working quite as expected in my tests. I'm trying to think
of this from an end user use case perspective. For example
On Tue, Jul 10, 2012 at 03:18:19PM -0600, Eric Blake wrote:
> On 07/10/2012 02:46 PM, Guido Günther wrote:
> > ---
> > tools/virsh.c | 18 +-
> > 1 file changed, 17 insertions(+), 1 deletion(-)
> >
> > diff --git a/tools/virsh.c b/tools/virsh.c
> > index 591a1ce..2c0446c 100644
See https://www.redhat.com/archives/libvir-list/2012-July/msg00493.html
Basically building against librbd doesn't seem to actually require -lcrypto.
Also report the rbd linker flags in configure output
Signed-off-by: Cole Robinson
---
configure.ac |8 +++-
1 file changed, 7 insertions(
10 matches
Mail list logo