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] How can i redirect the writes to the console from the HV

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] How can i redirect the writes to the console from the HVM (port 0xe9) to Qemu?
From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
Date: Tue, 4 Aug 2009 18:50:05 +0300
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 04 Aug 2009 08:50:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=fIwgWqG3YBKpKbMzSKiRcyv6DCeLi3ofXwbWuw+bcmc=; b=lqAKLcMjp64QYYwBl7gP6baodpBsT7ZHuxEmuqwBoaKajrsp61gq5LmSMz8wJVjXNa a1rD1Dloq5Q+L0e+VImNcJfOiSaWJtPIHlOQv85i2K4B+PteHdXhj457sn57g0vr4CuR NogL1DwlGNfTFcrh/WKAuzOJttm6OhhyNDH/I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=f8TgOWy6CBT/aCqyzbB6U71SGIzPOIO3RVFZJ3zpSqgK/VXXnrCCliWs5JFGz+KCUA G+/w+jbQDrr6NTbr/A84+j6aiIgMyMW8fxPkWVmPww6p+R/9TV/ce90Y/hl5poe1Uelp DJ8f3PXKd6PVsZoPWWJdc6ZbkGW2bdVT53QgE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C69E11B7.9F0E%keir.fraser@xxxxxxxxxxxxx>
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: <8686c3cd0908040731qdbcb863n3f12a22851921630@xxxxxxxxxxxxxx> <C69E11B7.9F0E%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Great, thanks!

On Tue, Aug 4, 2009 at 6:26 PM, Keir Fraser<keir.fraser@xxxxxxxxxxxxx> wrote:
> On 04/08/2009 15:31, "Tom Rotenberg" <tom.rotenberg@xxxxxxxxx> wrote:
>
>> Does anyone know how can i register my own "hook" function on this
>> port, without modifying the code in hvm.c? Is there a chain of writes?
>
> You need to modify hvm_print_line() in hvm.c to return X86EMUL_UNHANDLEABLE
> rather than X86EMUL_OKAY. This will cause Xen to think that the handler
> could not handle the port access and so fall back to sending the port access
> to qemu, which is what you want.
>
>  -- Keir
>
>
>

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

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