[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.