WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V11 00/15] Xen device model supp

To: Alexander Graf <agraf@xxxxxxx>
Subject: Re: [Xen-devel] Re: [Qemu-devel] [PATCH V11 00/15] Xen device model support
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Date: Tue, 22 Mar 2011 14:47:09 +0000
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, QEMU-devel <qemu-devel@xxxxxxxxxx>, Anthony Liguori <anthony@xxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 22 Mar 2011 07:48:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=6TVrDqSlhwZPK8mKNnXwYqW1k+Yp8AA+fXAVeAJUJQk=; b=QqxZpIDpramEMsDZnB/tLnnoX9hD612rAfpuxk60QiRRKKn73nDSj9ZIz9FXHZ5Krz xpz8wvi3+YZElBv+m6oDOsr/vb/oCwQlPCann8D8/tSvwN0boF9bgoqLFo2JS/l/ekd4 AMkjJSQ+gM7rMkSf48J5L6jJxI2rs3mI6EJV8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=ZP8JO/9sDgJ8TKKfInn4mgRc35fuwBXkU6RYB1dauJdpHboGlfptgqnfZzpmhYd3j7 YgtqlcrJIi0ZYsBHyPhmJRd/SKVz93XLpg5+MUdqc3eq7qVyOsekxNX+uqyGguaEBbry tN3qFEPTbdC3JqpAzhqS7GkdcO9ORpvhNC+2s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D88B0C6.6040506@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1299004529-31290-1-git-send-email-anthony.perard@xxxxxxxxxx> <4D88B0C6.6040506@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Mar 22, 2011 at 14:23, Alexander Graf <agraf@xxxxxxx> wrote:
> On 03/01/2011 07:35 PM, anthony.perard@xxxxxxxxxx wrote:
>>
>> From: Anthony PERARD<anthony.perard@xxxxxxxxxx>
>>
>> Hi all,
>>
>> Here is the few change since the V10:
>>
>>   - Add braces for blocks with single statement in the clean-up patch;
>>   - the patch that builds Xen only for x86 have been removed, instead,
>>     xen_domainbuild is built with libhw and other Xen files are built for
>> i386
>>     target only;
>>   - the redirection structure with function pointer have been removed,
>> instead,
>>     there are few #define or static inline function use for the
>> compatibility;
>
> ARGH!
>
> The point of the redirection structure was so I can plug in with xenner and
> replace all the xen calls with in-qemu versions. If you remove it, I'll have
> to put it back in in the xenner patch set :(.
>
> We need some sort of abstraction between calling xs_ functions and actually
> calling them. Wrapping all xs_ calls in static inlines would be fine for
> that, as would the indirect calling table.

As my series doesn't change a lot of things in the xen code, I think
it is better than you put it back in your patch set.

Regards,

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>