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

[Xen-devel] [PATCH] qemu.patch

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] qemu.patch
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Thu, 19 May 2005 13:50:58 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 May 2005 20:49:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
This patch is needed to get the tree to build for QEMU based I/O emulation.

- Run configure before doing make in tools/ioemu
- We now have a single config file for VMX domains (earlier we had a 
  bochsrc and xmexample.vmx)

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>

--- a/tools/Makefile    2005-05-19 11:42:49 -07:00
+++ b/tools/Makefile    2005-05-19 11:42:49 -07:00
@@ -19,6 +19,9 @@
 
 all: check
        @set -e; for subdir in $(SUBDIRS); do \
+                if [ -f $$subdir/configure ]; then \
+                        (cd $$subdir; ./configure --prefix=$(DESTDIR)/usr) \
+                fi; \
                $(MAKE) -C $$subdir $@; \
        done
 
diff -Nru a/tools/examples/xmexample.vmx b/tools/examples/xmexample.vmx
--- a/tools/examples/xmexample.vmx      2005-05-19 11:42:49 -07:00
+++ b/tools/examples/xmexample.vmx      2005-05-19 11:42:49 -07:00
@@ -75,7 +75,7 @@
 #nfs_root   = '/full/path/to/root/directory'
 
 # Sets runlevel 4.
-extra = "acpi=off 1"
+extra = "acpi=off console=ttyS0 console=tty0 1"
 
 #----------------------------------------------------------------------------
 # Set according to whether you want the domain restarted when it exits.
@@ -89,5 +89,60 @@
 
 # New stuff
 memmap = '/etc/xen/mem-map.sxp'
-device_model = '/usr/sbin/device-model'
-device_config = '/etc/xen/bochsrc'
+device_model = '/usr/bin/device-model'
+device_config = '/etc/xen/xmexample.vmx'
+
+#============================================================================
+#
+# config item for qemu device model
+# Note: no space between =
+#-----------------------------------------------------------------------------
+# Qemu binary path
+qemubin='/usr/bin/qemu-dm'
+
+#-----------------------------------------------------------------------------
+# Disk image for 
+hda='/var/images/min-el3-i386.img'
+#hdb=
+#hdc=
+#hdd=
+#cdrom=
+
+#-----------------------------------------------------------------------------
+# boot on floppy (a), hard disk (c) or CD-ROM (d) 
+#boot=[a|c|d]
+#-----------------------------------------------------------------------------
+#  write to temporary files instead of disk image files
+#snapshot=1
+
+#----------------------------------------------------------------------------
+# enable SDL library for graphics, default = 0
+sdl=0
+
+#----------------------------------------------------------------------------
+# enable VNC library for graphics, default = 1
+vnc=1
+
+#----------------------------------------------------------------------------
+# no graphics, use serial port
+#nographic=0
+
+
+#-----------------------------------------------------------------------------
+#   enable audio support
+#enable-audio=1
+
+
+#-----------------------------------------------------------------------------
+#    set the real time clock to local time [default=utc]
+#localtime='utc'
+
+
+#-----------------------------------------------------------------------------
+#    start in full screen
+#full-screen=1   
+
+#-----------------------------------------------------------------------------
+#   set the mac address of the first interface
+#macaddr=  
+

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] qemu.patch, Arun Sharma <=