qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in li


From: Anthony Liguori
Subject: Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt
Date: Thu, 25 Mar 2010 08:57:36 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 03/25/2010 08:48 AM, Avi Kivity wrote:

But an awful lot of the providers for pegasus are written in C.

But we're concerned with only one, the virt provider. None of the others will use libqemu?

The point is, C is a lowest common denominator and it's important to support in a proper way.

Problem is, it means horrible support for everyone else.

Why?

We can provide a generic QMP dispatch interface that high level languages can use. Then they can do fancy dispatch, treat QErrors as exceptions, etc.

We just ought to also provide some simple C wrappers for all of the functions. Yes, the C interface is inferior to the generic interface but that's fine.

Regards,

Anthony Liguori





reply via email to

[Prev in Thread] Current Thread [Next in Thread]