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
|