From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: [libvirt] [PATCH 2/7] kvmtool: Add documents Date: Tue, 6 Dec 2011 14:47:30 +0000 Message-ID: <20111206144730.GD7937@redhat.com> References: <1321012626-31713-1-git-send-email-jyang@redhat.com> <1321012626-31713-4-git-send-email-jyang@redhat.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: libvir-list@redhat.com, kvm@vger.kernel.org, penberg@cs.helsinki.fi, levinsasha928@gmail.com, gorcunov@gmail.com, mingo@elte.hu, asias.hejun@gmail.com To: Osier Yang Return-path: Received: from mx1.redhat.com ([209.132.183.28]:21923 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933345Ab1LFOsV (ORCPT ); Tue, 6 Dec 2011 09:48:21 -0500 Content-Disposition: inline In-Reply-To: <1321012626-31713-4-git-send-email-jyang@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Nov 11, 2011 at 07:57:01PM +0800, Osier Yang wrote: > The document is rather rough now, but at least contains an domain > config example of all the current supported XMLs, and tells how to > play with the driver. > --- > docs/drivers.html.in | 1 + > docs/drvkvmtool.html.in | 87 +++++++++++++++++++++++++++++++++++++++++++++++ > docs/index.html.in | 3 ++ > docs/sitemap.html.in | 4 ++ > src/README | 3 +- > 5 files changed, 97 insertions(+), 1 deletions(-) > create mode 100644 docs/drvkvmtool.html.in > > diff --git a/docs/drivers.html.in b/docs/drivers.html.in > index 75038fc..249c137 100644 > --- a/docs/drivers.html.in > +++ b/docs/drivers.html.in > @@ -29,6 +29,7 @@ >
  • VMware Workstation/Player
  • >
  • Xen
  • >
  • Microsoft Hyper-V
  • > +
  • Native Linux KVM Tool
  • > > >

    Storage drivers

    > diff --git a/docs/drvkvmtool.html.in b/docs/drvkvmtool.html.in > new file mode 100644 > index 0000000..1b6acdf > --- /dev/null > +++ b/docs/drvkvmtool.html.in > @@ -0,0 +1,87 @@ > + > + > +

    KVM tool driver

    > + > +
      > + > +

      > + The libvirt KVMTOOL driver manages hypervisor Native Linux KVM Tool, > + it's implemented by using command line of kvm tool binary. > +

      > + > +

      Project Links

      > + > + > + > +

      Connections to the KVMTOOL driver

      > +

      > + The libvirt KVMTOOL driver is a multi-instance driver, providing a single > + system wide privileged driver (the "system" instance), and per-user > + unprivileged drivers (the "session" instance). The URI driver protocol > + is "kvmtool". Some example conection URIs for the libvirt driver are: > +

      > + > +
      > +      kvmtool:///session                      (local access to per-user instance)
      > +      kvmtool+unix:///session                 (local access to per-user instance)
      > +
      > +      kvmtool:///system                       (local access to system instance)
      > +      kvmtool+unix:///system                  (local access to system instance)
      > +    
      > +

      > + cgroups controllers "cpuacct", and "memory" are supported currently. > +

      > + > +

      Example config

      > + > +
      > +<domain type='kvmtool' id='1'>
      
      As mentioned in a later patch, we should just use  type='kvm' here still
      
      
      Daniel
      -- 
      |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
      |: http://libvirt.org              -o-             http://virt-manager.org :|
      |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
      |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|