Skip to contentSkip to conversation

vmxassist-syslinux.patch

PATCH New Leendert van Doorn 1 participant 1 message Mar 21, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmxassist-syslinux.patch

The following patch adds support to vmxassist for SYSLINUX/ISOLINUX. This enables you to install SLES-10 as an unmodified guest.

Notice that at this time, vmxassist does not support the graphic bootstrap loader (gfxboot), so be sure the set "stdvga=1" in your configuration file to prevent gfxboot from kicking in (or hit SHIFT really fast).

tools/examples/xmexample.hvm +3 -0
diff -r 045bee6e1ebd tools/examples/xmexample.hvm
@@ -129,6 +129,9 @@
 # no graphics, use serial port
 #nographic=0
 
+#----------------------------------------------------------------------------
+# enable stdvga, default = 0 (use cirrus logic device model)
+stdvga=0
 
 #-----------------------------------------------------------------------------
 #   serial port re-direct to pty deivce, /dev/pts/n 
tools/firmware/vmxassist/machine.h +2 -1
diff -r 045bee6e1ebd tools/firmware/vmxassist/machine.h
@@ -37,10 +37,11 @@
 #define CR4_PVI		(1 << 1)
 #define CR4_PSE		(1 << 4)
 
+#define EFLAGS_ZF	(1 << 6)
 #define EFLAGS_TF	(1 << 8)
 #define EFLAGS_IF	(1 << 9)
 #define EFLAGS_DF	(1 << 10)
-#define EFLAGS_IOPL (3 << 12)
+#define EFLAGS_IOPL	(3 << 12)
 #define EFLAGS_VM	((1 << 17) | EFLAGS_IOPL)
 #define EFLAGS_VIF	(1 << 19)
 #define EFLAGS_VIP	(1 << 20)
tools/firmware/vmxassist/util.c +33 -20

129 lines not on this page · raw message

tools/firmware/vmxassist/vm86.c +405 -90

744 lines not on this page · raw message