[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



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]