[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [TCK] [PATCH] Switch to installation of FC14 image and other fixes
- From: "Richard W.M. Jones" <rjones redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list <libvir-list redhat com>
- Subject: Re: [libvirt] [TCK] [PATCH] Switch to installation of FC14 image and other fixes
- Date: Tue, 10 May 2011 10:22:43 +0100
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 don't actually need ssh, if we just execute commands in
> libguestfs for bits where we currently use ssh.
This works too.
Use the guestfs_set_attach_method call to connect to the daemon once
libvirt has booted the appliance (how you boot the appliance via
libvirt is of course up to you):
http://libguestfs.org/guestfs.3.html#attaching_to_running_daemons
http://libguestfs.org/guestfs.3.html#guestfs_set_attach_method
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]