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] 32E (64bit) VMX keyboard is out of control, if given an

To: "Hiromichi Itou" <ito@xxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] 32E (64bit) VMX keyboard is out of control, if given an addition 'hde'
From: "You, Yongkang" <yongkang.you@xxxxxxxxx>
Date: Wed, 13 Sep 2006 20:17:49 +0800
Delivery-date: Wed, 13 Sep 2006 05:18:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbW93I8cU3zMaQXT6qyoaefL9SEeQANn9DA
Thread-topic: [Xen-devel] 32E (64bit) VMX keyboard is out of control, if given an addition 'hde'
Hi,

I have tried that patch. It fixes the issue in 32E VMX. With it, keyboard is 
normal when I use "hde+" disk configuration for VMX. And after insmod VBD 
modules, that hde disk can work. Will that patch go into xen-unstable? :)

A little puzzled why it only influent 32E VMX. 

Also thanks to Anthony, the 'xvda' more likes a clear way to use VBD in VMX. :)

Best Regards,
Yongkang (Kangkang) 永康
>-----Original Message-----
>From: Hiromichi Itou [mailto:ito@xxxxxxxx]
>Sent: 2006年9月13日 13:42
>To: xen-devel
>Cc: You, Yongkang
>Subject: Re: [Xen-devel] 32E (64bit) VMX keyboard is out of control, if given
>an addition 'hde'
>
>Hi,
>
>I can reproduce this problem and fixed it.
>The following patches probably fixed this problem.
>
>Hiromichi Ito
>
>Signed-off-by: Hiromichi Ito <ito@xxxxxxxx>
>
>diff -r 7d4def53936c tools/ioemu/xenstore.c
>--- a/tools/ioemu/xenstore.c    Tue Sep 12 16:33:33 2006 +0100
>+++ b/tools/ioemu/xenstore.c    Wed Sep 13 14:34:32 2006 +0900
>@@ -100,7 +100,7 @@ void xenstore_parse_domain_config(int do
>         if (strncmp(dev, "hd", 2) || strlen(dev) != 3)
>             continue;
>         hd_index = dev[2] - 'a';
>-       if (hd_index > MAX_DISKS)
>+       if (hd_index > MAX_DISKS - 1)
>             continue;
>         /* read the type of the device */
>         if (pasprintf(&buf, "%s/device/vbd/%s/device-type", path, e
>[i]) == -1)
>
>
>On 2006/09/12, at 16:53, You, Yongkang wrote:
>
>> Hi,
>>
>> This issue only happens on my IA32E VMX domain. IA32 VMX domain is
>> okay.
>>
>> I am trying VBD disk in IA32E VMX domain. I used following disk
>> configuration to create an IA32E VMX domain.
>>      disk = [ 'file:/mnt/disk1.img,hda,w', 'file:/mnt/disk2.img,hde,w' ]
>>
>> After creating VMX, its keyboard can not be used properly. For
>> example, if pressing 'Backspace', it shows 'm'; if pressing
>> 'Enter', it just said Unknown key pressed.
>>
>> If I didn't set 'hde', or just change 'hde' to 'hdd', everything is
>> okay. Could anyone help to reproduce and explain this strange issue?
>>
>> Best Regards,
>> Yongkang (Kangkang) 永康
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel

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