Skip to contentSkip to conversation

both Linux and Windows hvm guest can not boot up

Xen-bugs Samuel Thibault 2 participants 2 messages Mar 21, 2008 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 17 lines · [email protected], le Thu 20 Mar 2008 23:23:35 -0700, a…

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1194

------- Comment #3 from [email protected] 2008-03-20 23:23 ------- This bug may be related to c/s #17266 which says that IDE should accept SETMUL 0 as upstream qemu now does. It is following:

tools/ioemu/hw/ide.c Thu Mar 20 17:47:05 2008 +0000 renamed from tools/ioemu/hw/ide.c Thu Mar 20 17:45:00 2008 +0000 +0 -1
@@ -1823,7 +1823,6 @@ static void ide_ioport_write(void *opaqu
             break;
         case WIN_SETMULT:
             if (s->nsector > MAX_MULT_SECTORS || 
-                s->nsector == 0 ||
                 (s->nsector & (s->nsector - 1)) != 0) {
                 ide_abort_command(s);
             } else {
Quoted 1 line

If revert c/s 17266, WinXP guest can boot up, but Linux still can't.

Oh, that's pretty odd that it doesn't like it... Well then OK, please revert it (it was mostly meant to fix a scary but harmless warning in the Linux hda initialization). I'm also getting the Linux hda issue, maybe I'll try to dig it out.

Samuel

#3 lore raw
Quoted 11 lines · Samuel Thibault
Quoted 11 lines
tools/ioemu/hw/ide.c Thu Mar 20 17:47:05 2008 +0000 renamed from tools/ioemu/hw/ide.c Thu Mar 20 17:45:00 2008 +0000 +0 -1
@@ -1823,7 +1823,6 @@ static void ide_ioport_write(void *opaqu
             break;
         case WIN_SETMULT:
             if (s->nsector > MAX_MULT_SECTORS ||
-                s->nsector == 0 ||
                 (s->nsector & (s->nsector - 1)) != 0) {
                 ide_abort_command(s);
             } else {
Quoted 6 lines
Quoted 1 line

If revert c/s 17266, WinXP guest can boot up, but Linux still can't.

Oh, that's pretty odd that it doesn't like it... Well then OK, please revert it (it was mostly meant to fix a scary but harmless warning in the Linux hda initialization). I'm also getting the Linux hda issue, maybe I'll try to dig it out.

This patch has been found blameless.

-- Keir