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: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] 32E (64bit) VMX keyboard is out of control, if given an addition 'hde'
From: Hiromichi Itou <ito@xxxxxxxx>
Date: Wed, 13 Sep 2006 14:42:19 +0900
Cc: "You, Yongkang" <yongkang.you@xxxxxxxxx>
Delivery-date: Tue, 12 Sep 2006 22:42:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <094BCE01AFBE9646AF220B0B3F367AAB588F5A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <094BCE01AFBE9646AF220B0B3F367AAB588F5A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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