>|I want to be able to "connect" and initiate a guest in a *script*
 >|(so it can be done automatically when the host boots), and then allow
 >|users (without admin privileges) to access the guest graphically. Is
 >|this a reasonable mode of operation? If so, how do I do it? If I call
 >|qemu-kvm directly the -nographic option doesn't seem to do what I
 >|expect. And I don't know how users can access the guest (graphically)
 >|except by using virt-viewer, which seems to require that the guest have
 >|been initiated by virt-manager.

For the record, here's what I've learned.

Automatic booting of a guest at host boot-up can be configured without a
script as follows:

# virsh --connect qemu:///system autostart <guest id>

Ordinary startup/shutdown of a guest are

# virsh --connect qemu:///system start <guest id>
# virsh --connect qemu:///system shutdown <guest id>

(There's no mention of "start" in the man page for virsh!) 

And if the guest was *configured* (not necessarily initiated) by
virt-manager, a user can access it as follows:

% virt-viewer --connect qemu:///system <guest id>

Thanks to those who replied.

Bob T.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to