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

[Xen-devel] Re: [patch 1/1] hypervisor: Enable hypervisor detect pvhvm r

To: Joe Jin <joe.jin@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [patch 1/1] hypervisor: Enable hypervisor detect pvhvm running on COMPAT mode
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 03 Mar 2009 09:06:05 +0000
Cc: "kurt.hackel@xxxxxxxxxx" <kurt.hackel@xxxxxxxxxx>, "greg.marsden@xxxxxxxxxx" <greg.marsden@xxxxxxxxxx>
Delivery-date: Tue, 03 Mar 2009 01:06:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090303064443.GB22935@xxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acmby8febrSa9KVoQdKfF75kCm7g3wAE4Bxl
Thread-topic: [patch 1/1] hypervisor: Enable hypervisor detect pvhvm running on COMPAT mode
User-agent: Microsoft-Entourage/12.15.0.081119
Thanks, I'll check in a clearer version of this.

 -- Keir

On 03/03/2009 06:46, "Joe Jin" <joe.jin@xxxxxxxxxx> wrote:

> Hi,
> 
> When 32bit pvhvm running on 64bit hypervisor, if guest OS create
> event-channel more than 32, Domain0 maybe could not communication
> with guest OS via new event-channel, also xenwatch thread state
> is TASK_UNINTERRUPTIBLE and could not got schedule, all inter-domain
> command almost no response.
> 
> How to reproduce:
>     Try to with "xm block-attach" attach more disk to the pvhvm
>     guest, the issue will appear.
> 
> This caused by hypervisor could not probe and decide if pvhvm guest
> running in COMPAT mode, and could set the right bits for guest os.
> 
> Please review, thanks.
> 
> Signed-off-by: Joe Jin <joe.jin@xxxxxxxxxx>
> ---
> 
>  domain.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff -r 98d48f7680db xen/include/asm-x86/domain.h
> --- a/xen/include/asm-x86/domain.h Wed Nov 19 19:13:22 2008 +0000
> +++ b/xen/include/asm-x86/domain.h Tue Mar 03 14:35:19 2009 +0800
> @@ -16,7 +16,7 @@
>  #define is_pv_32on64_domain(d) (0)
>  #endif
>  #define is_pv_32on64_vcpu(v)   (is_pv_32on64_domain((v)->domain))
> -#define IS_COMPAT(d)           (is_pv_32on64_domain(d))
> +#define IS_COMPAT(d)           (is_pv_32on64_domain(d) ||
> has_32bit_shinfo(d))
>  
>  struct trap_bounce {
>      uint32_t      error_code;
> 
> 



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