Re: [libvirt] Have any commands in libvirt to run a domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 01, 2008 at 07:21:36PM +0800, Ian jonhson wrote:
> Hi all,
> 
> Are there any commands in console to start/suspend/resume/stop a domain?
> Is it possible to start a domain as following command:
> 
> # libvirt-command -cpu <cpu cycle> -mem <memory> -disk <disk quota>
> -network <network bandwith> -template <windows>
> 
> If not, can I build this command with existing libvirt API?

Look at the 'virsh' command & its manual page. It provides commnds for
defining a VM config, starting/stopping/suspending/resuming domains, 
and much much more.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]