Jun Koi | 1 Sep 2008 05:29
Picon

[libvirt] remote driver?

Hi,

I am connecting to libvirtd with virsh using qemu:///system connection
type. However, it seems virsh uses "remote" driver for all the action
on the VM. So this means qemu:///system considers all the action is
done "remotely" even if it is on the same physical machine?

I really expected that it uses "QEMU" driver, but that is not the
case. So I wonder in which case "QEMU" driver is used?

Many thanks,
Jun

Alain Barthe | 1 Sep 2008 09:55
Picon

Re: [libvirt] libvir: Xen error

2008/8/28 mantra UNIX <unix.mantra <at> gmail.com>
Thank you Richard.

Thank you for what ?

If you got an answer off list, please share it, I have the same problem and got no solutions.

Best regards.

Alain.
 


On 8/27/08, Richard W.M. Jones <rjones <at> redhat.com> wrote:
On Mon, Aug 25, 2008 at 02:30:37PM -0500, mantra UNIX wrote:
>  Hello everyone,
>
>      I get the following error when i try to redtart a domain;
>
>      # virsh list
>      libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID
>
>      I am using RHEL5.2 on i386, I have searched for the error on web
>      and on RedHat but could not find any.

The bug report is a bit unclear.  How did you restart the domain?
(eg. from inside the guest?  using a virsh command?)  Did you wait
after restarting the domain?

Can you also post the output of:

xm list --long

Rich.

--
Richard Jones, Emerging Technologies, Red Hat  http://et.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/



--
Regards,
mantra - Instrument of Thought

--
Libvir-list mailing list
Libvir-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


<div><div dir="ltr">2008/8/28 mantra UNIX <span dir="ltr">&lt;<a href="mailto:unix.mantra <at> gmail.com">unix.mantra <at> gmail.com</a>&gt;</span><br><div class="gmail_quote">
<blockquote class="gmail_quote">
Thank you Richard.</blockquote>
<div>
<br>Thank you for what ?<br><br>If you got an answer off list, please share it, I have the same problem and got no solutions.<br><br>Best regards.<br><br>Alain.<br>&nbsp;</div>
<blockquote class="gmail_quote">
<br><br><div>
<div class="Ih2E3d">
<span class="gmail_quote">On 8/27/08, Richard W.M. Jones &lt;<a href="mailto:rjones <at> redhat.com" target="_blank">rjones <at> redhat.com</a>&gt; wrote:</span>
</div>
<div class="Ih2E3d"><blockquote class="gmail_quote">On Mon, Aug 25, 2008 at 02:30:37PM -0500, mantra UNIX wrote:<br>&gt;&nbsp;&nbsp;Hello everyone,<br>
&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I get the following error when i try to redtart a domain;<br>
&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# virsh list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I am using RHEL5.2 on i386, I have searched for the error on web<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and on RedHat but could not find any.<br><br>The bug report is a bit unclear.&nbsp;&nbsp;How did you restart the domain?<br>(eg. from inside the guest?&nbsp;&nbsp;using a virsh command?)&nbsp;&nbsp;Did you wait<br>after restarting the domain?<br><br>Can you also post the output of:<br><br>xm list --long<br><br>Rich.<br><br>--<br>Richard Jones, Emerging Technologies, Red Hat&nbsp;&nbsp;<a href="http://et.redhat.com/%7Erjones" target="_blank">http://et.redhat.com/~rjones</a><br>virt-df lists disk usage of guests without needing to install any<br>
software inside the virtual machine.&nbsp;&nbsp;Supports Linux and Windows.<br><a href="http://et.redhat.com/%7Erjones/virt-df/" target="_blank">http://et.redhat.com/~rjones/virt-df/</a><br>
</blockquote></div>
</div>
<br><br clear="all"><br>-- <br><div>
<div></div>
<div class="Wj3C7c">Regards,<br>mantra - Instrument of Thought 
</div>
</div>
<br>--<br>
Libvir-list mailing list<br><a href="mailto:Libvir-list <at> redhat.com">Libvir-list <at> redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/mailman/listinfo/libvir-list</a><br><br>
</blockquote>
</div>
<br>
</div></div>
atif bajwa | 1 Sep 2008 10:59
Picon

[libvirt] libvirt vs XenAPI

Hi!

I am looking to integrate the Xen Management. Please guide me advantages of using libvirt over XenAPI and please list xen-based-hypervisor distributions(versions) that will be supported with libvirt. And what is future of libvirt as XenSource is more focused on XenAPI.

Regards,
Atif
<div><div dir="ltr">Hi!<br><br>I am looking to integrate the Xen Management. Please guide me advantages of using libvirt over XenAPI and please list xen-based-hypervisor distributions(versions) that will be supported with libvirt. And what is future of libvirt as XenSource is more focused on XenAPI.<br><br>Regards,<br>Atif<br>
</div></div>
atif bajwa | 1 Sep 2008 11:09
Picon

[libvirt] Re: libvirt vs XenAPI

Hi!

I am looking to add support for Xen. Please guide me which is best method to connect to remote system(host) from windows client. What privileges and binaries will be required for client program to read data only.

If possible please list supported libvirt versions that can be port to windows. Also list xen-based-hypervisor distributions that I can get remote access with libvirt windows based client.

Regards,
Atif
<div><div dir="ltr">Hi!<br><br>I am looking to add support for Xen. Please guide me which is best method to connect to remote system(host) from windows client. What privileges and binaries will be required for client program to read data only.<br><br>If possible please list supported libvirt versions that can be port to windows. Also list xen-based-hypervisor distributions that I can get remote access with libvirt windows based client. <br><br>Regards,<br>Atif<br>
</div></div>
atif bajwa | 1 Sep 2008 11:10
Picon

[libvirt] Remote access from libvirt windows client

Hi!

I am looking to add support for Xen. Please guide me which is best method to connect to remote system(host) from windows client. What privileges and binaries will be required for client program to read data only.

If possible please list supported libvirt versions that can be port to windows. Also list xen-based-hypervisor distributions that I can get remote access with libvirt windows based client.

Regards,
Atif

<div><div dir="ltr">
<div class="gmail_quote">Hi!<br><div dir="ltr">
<br>I am looking to add support for Xen. Please guide me which is best method to connect to remote system(host) from windows client. What privileges and binaries will be required for client program to read data only.<br><br>If possible please list supported libvirt versions that can be port to windows. Also list xen-based-hypervisor distributions that I can get remote access with libvirt windows based client. <br><br>Regards,<br>Atif<br>
</div>
</div>
<br>
</div></div>
Daniel P. Berrange | 1 Sep 2008 11:11
Picon
Favicon

Re: [libvirt] remote driver?

On Mon, Sep 01, 2008 at 12:29:16PM +0900, Jun Koi wrote:
> Hi,
> 
> I am connecting to libvirtd with virsh using qemu:///system connection
> type. However, it seems virsh uses "remote" driver for all the action
> on the VM. So this means qemu:///system considers all the action is
> done "remotely" even if it is on the same physical machine?
> 
> I really expected that it uses "QEMU" driver, but that is not the
> case. So I wonder in which case "QEMU" driver is used?

The QEMU driver is what we call a 'stateful' driver, which means it only
lives within the libvirtd daemon, and applications communicate with the
QEMU driver indirectly via the 'remote' driver. 'remote' was probably
a bad name for this driver - its really just doing local RPC calls over
a UNIX domain socket and is very fast.  So the behaviour you see is
totally expected & nothing to worry about.

Regards,
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 :|

Atsushi SAKAI | 1 Sep 2008 11:12
Favicon

Re: [libvirt] libvirt vs XenAPI

Hi, Atif

If you want to natively use Xen API,
I will recommend to use it directly.
If you want to use archtecture neutral API,
You should use libvirt.

Libvirt pros and cons
pros:any Xen version is supported (like 3.y.z or 2.y)
cons:architecuture neutral API. specific functionality is not always supported.

And this list may be helpful.
http://libvirt.org/hvsupport.html

Thanks
Atsushi SAKAI

"atif bajwa" <atifbajwa <at> gmail.com> wrote:

> Hi!
> 
> I am looking to integrate the Xen Management. Please guide me advantages of
> using libvirt over XenAPI and please list xen-based-hypervisor
> distributions(versions) that will be supported with libvirt. And what is
> future of libvirt as XenSource is more focused on XenAPI.
> 
> Regards,
> Atif

Atsushi SAKAI | 1 Sep 2008 11:20
Favicon

Re: [libvirt] Remote access from libvirt windows client

Hi, Atif

At this moment, 0.4.4 is not working correctly.
Hourly cvs-snapshot is better solution.
http://libvirt.org/downloads.html

If you want to compile on MinGW, Please see following Mail.
https://www.redhat.com/archives/libvir-list/2008-June/msg00145.html

If you want to compile on Cygwin,
You should turn off HAVE_WINSOCK2_H after autogen.sh

Thanks
Atsushi SAKAI

"atif bajwa" <atifbajwa <at> gmail.com> wrote:

> Hi!
> 
> I am looking to add support for Xen. Please guide me which is best method to
> connect to remote system(host) from windows client. What privileges and
> binaries will be required for client program to read data only.
> 
> If possible please list supported libvirt versions that can be port to
> windows. Also list xen-based-hypervisor distributions that I can get remote
> access with libvirt windows based client.
> 
> Regards,
> Atif

Daniel P. Berrange | 1 Sep 2008 11:23
Picon
Favicon

Re: [libvirt] libvirt vs XenAPI

On Mon, Sep 01, 2008 at 10:59:09AM +0200, atif bajwa wrote:
> I am looking to integrate the Xen Management. Please guide me advantages of
> using libvirt over XenAPI and please list xen-based-hypervisor
> distributions(versions) that will be supported with libvirt. And what is
> future of libvirt as XenSource is more focused on XenAPI.

There are many benefits to using libvirt instead of XenAPI

 - Avoids your application being locked into a particular hypervisor
   allowing you to port your application to KVM, OpenVZ, LXC (native Linux
   containers) and any hypervisor supported by libvirt in future

 - livirt works with every version of Xen 3.0.x or later, XenAPI is
   only usable in Xen 3.1.0 and later and thus not available in some
   distros such as RHEL-5/CentOS-5

 - The same API can be used both locally, and remotely. Local access
   is highly efficient making direct hypercalls whereever possible
   giving order of magnitude better response time than XenAPI.

 - Remote access can be secured using SSL + x509 certificates, SSH
   tunnel, Kerberos GSSAPI single sign on, username + password

 - Guarenteed stable API, so applications written against libvirt
   will continue to work indefinitely into the future

There's probably more points I can come up with, but that's enough for now.

As for the future, libvirt is now available in every major Linux distro,
and used by a wide range of tools developed by numerous companies & has
contributors from across the open source community, both independant and
vendor sponsered. There is an ever increasing set of language bindings for
the API (Python, Perl, Java, OCaml, Ruby) and mappings into the CIM / DMTF
framework for virtualzation, and new work to provide an AMQP binding. And 
of course this is also ongoing work to expand the API functionality and add
new hypervisor drivers. There's a healthy todo list of ideas we'll be
addressing over the next year or so...

   http://wiki.libvirt.org/page/Todo

Regards,
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 :|

atif bajwa | 1 Sep 2008 11:23
Picon

Re: [libvirt] libvirt vs XenAPI

Thanks,

Please guide me list of supported distributions with versions that I can use libvirt with.

Regards,
Atif

On Mon, Sep 1, 2008 at 11:12 AM, Atsushi SAKAI <sakaia <at> jp.fujitsu.com> wrote:
Hi, Atif

If you want to natively use Xen API,
I will recommend to use it directly.
If you want to use archtecture neutral API,
You should use libvirt.


Libvirt pros and cons
pros:any Xen version is supported (like 3.y.z or 2.y)
cons:architecuture neutral API. specific functionality is not always supported.

And this list may be helpful.
http://libvirt.org/hvsupport.html

Thanks
Atsushi SAKAI


"atif bajwa" <atifbajwa <at> gmail.com> wrote:

> Hi!
>
> I am looking to integrate the Xen Management. Please guide me advantages of
> using libvirt over XenAPI and please list xen-based-hypervisor
> distributions(versions) that will be supported with libvirt. And what is
> future of libvirt as XenSource is more focused on XenAPI.
>
> Regards,
> Atif



<div><div dir="ltr">Thanks, <br><br>Please guide me list of supported distributions with versions that I can use libvirt with.<br><br>Regards,<br>Atif<br><br><div class="gmail_quote">On Mon, Sep 1, 2008 at 11:12 AM, Atsushi SAKAI <span dir="ltr">&lt;<a href="mailto:sakaia <at> jp.fujitsu.com">sakaia <at> jp.fujitsu.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">Hi, Atif<br><br>
If you want to natively use Xen API,<br>
I will recommend to use it directly.<br>
If you want to use archtecture neutral API,<br>
You should use libvirt.<br><br><br>
Libvirt pros and cons<br>
pros:any Xen version is supported (like 3.y.z or 2.y)<br>
cons:architecuture neutral API. specific functionality is not always supported.<br><br>
And this list may be helpful.<br><a href="http://libvirt.org/hvsupport.html" target="_blank">http://libvirt.org/hvsupport.html</a><br><br>
Thanks<br>Atsushi SAKAI<br><div>
<div></div>
<div class="Wj3C7c">
<br><br>
"atif bajwa" &lt;<a href="mailto:atifbajwa <at> gmail.com">atifbajwa <at> gmail.com</a>&gt; wrote:<br><br>
&gt; Hi!<br>
&gt;<br>
&gt; I am looking to integrate the Xen Management. Please guide me advantages of<br>
&gt; using libvirt over XenAPI and please list xen-based-hypervisor<br>
&gt; distributions(versions) that will be supported with libvirt. And what is<br>
&gt; future of libvirt as XenSource is more focused on XenAPI.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Atif<br><br><br>
</div>
</div>
</blockquote>
</div>
<br>
</div></div>

Gmane