From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Tue, 9 Sep 2008 11:49:36 +0000 (+0100) Subject: Add optional 'make boot SERIAL=yes' to test the serial console. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=1340b4067abb42b2f57667123f15d722e1f9957c;p=virt-p2v.git Add optional 'make boot SERIAL=yes' to test the serial console. --- diff --git a/Makefile.in b/Makefile.in index e0baf03..89e6474 100644 --- a/Makefile.in +++ b/Makefile.in @@ -42,7 +42,7 @@ VIRTP2V_RPM := $(PACKAGE)-$(VERSION)-1.noarch.rpm all: @echo "make rpm Build the virt-p2v RPM" @echo "make build Build the live CD ISO" - @echo "make boot [HDA=hda.img] [HDB=hdb.img] [ISO=livecd.iso]" + @echo "make boot [HDA=hda.img] [HDB=hdb.img] [ISO=livecd.iso] [SERIAL=yes]" @echo " Boot built/named ISO (uses qemu)" @echo "make update Update an existing live CD ISO with new" @echo " virt-p2v script, without doing full rebuild" @@ -104,6 +104,8 @@ endif ifneq ($(HDB),) QEMU_ARGS += -hdb $(HDB) endif +SERIAL = none +QEMU_ARGS += -serial $(SERIAL) boot: $(QEMU) $(QEMU_ARGS) diff --git a/README b/README index 521cfb4..9801015 100644 --- a/README +++ b/README @@ -77,3 +77,13 @@ eg. from /var/lib/xen/images, to experiment with). For example: cp /var/lib/xen/images/rhel5gax32fv.img . make boot HDA=rhel5gax32fv.img + + +Serial console +---------------------------------------------------------------------- + +With livecd-tools >= 018, the CD should enable the serial console +(ttyS0, 9600 8N1). + +You can test this with: + make boot [...] SERIAL=yes