From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: Todd Deshane <deshantm@gmail.com>
Cc: xen-devel mailing list <xen-devel@lists.xensource.com>
Subject: [PATCH] PV-GRUB: fix example file [Was: PV Grub Questions]
Date: Thu, 28 Aug 2008 16:27:37 +0100 [thread overview]
Message-ID: <20080828152737.GY4523@implementation.uk.xensource.com> (raw)
In-Reply-To: <1e16a9ed0808280813o298372d8i54ed0946082d1945@mail.gmail.com>
Todd Deshane, le Thu 28 Aug 2008 11:13:10 -0400, a écrit :
> On Thu, Aug 28, 2008 at 10:43 AM, Samuel Thibault
> <samuel.thibault@eu.citrix.com> wrote:
> > Todd Deshane, le Tue 26 Aug 2008 15:57:50 -0400, a écrit :
> >> extra = "(hd0,1)/boot/grub/menu.lst"
> >> memory = 64
> >> vif = [ '' ]
> >> disk = [ 'tap:aio:/root/benchvm/bin/img-xen-guest/image-0.img,hda,w' ]
> >> root = "/dev/hda2 ro"
> >
> > Oh, that root option is the cause of the menu not showing up. That
> > shouldn't be here, since it's in menu.lst itself.
>
> Cool, that is the first step on the way. I think that should be changed in the
> xmexample.pv-grub file,
Gargl, I thought I had tested that file, but apparently not... Should
be applied to the 3.3 tree too of course.
Samuel
pv-grub: fix example file
Apparently 64MB is too short for the domain builder.
No kernel option should be passed, as they are provided by menu.lst, and
would only confuse grub.
diff -r 51f868f2a29f tools/examples/xmexample.pv-grub
--- a/tools/examples/xmexample.pv-grub Thu Aug 28 13:01:25 2008 +0100
+++ b/tools/examples/xmexample.pv-grub Thu Aug 28 16:23:26 2008 +0100
@@ -25,7 +25,7 @@ extra = "(hd0,0)/boot/grub/menu.lst"
# WARNING: Creating a domain with insufficient memory may cause out of
# memory errors. The domain needs enough memory to boot kernel
# and modules. Allocating less than 32MBs is not recommended.
-memory = 64
+memory = 128
# A name for your domain. All domains must have different names.
name = "ExampleDomain"
@@ -119,32 +119,6 @@ disk = [ 'phy:hda1,hda1,w' ]
#vtpm = [ 'instance=1,backend=0' ]
#----------------------------------------------------------------------------
-# Set the kernel command line for the new domain.
-# You only need to define the IP parameters and hostname if the domain's
-# IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.
-# You can use 'extra' to set the runlevel and custom environment
-# variables used by custom rc scripts (e.g. VMID=, usr= ).
-
-# Set if you want dhcp to allocate the IP address.
-#dhcp="dhcp"
-# Set netmask.
-#netmask=
-# Set default gateway.
-#gateway=
-# Set the hostname.
-#hostname= "vm%d" % vmid
-
-# Set root device.
-root = "/dev/hda1 ro"
-
-# Root device for nfs.
-#root = "/dev/nfs"
-# The nfs server.
-#nfs_server = '192.0.2.1'
-# Root directory on the nfs server.
-#nfs_root = '/full/path/to/root/directory'
-
-#----------------------------------------------------------------------------
# Configure the behaviour when a domain exits. There are three 'reasons'
# for a domain to stop: poweroff, reboot, and crash. For each of these you
# may specify:
next prev parent reply other threads:[~2008-08-28 15:27 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 19:57 PV Grub Questions Todd Deshane
2008-08-26 20:35 ` Keir Fraser
2008-08-26 20:51 ` Todd Deshane
2008-08-27 7:59 ` Gerd Hoffmann
2008-08-26 23:45 ` Samuel Thibault
2008-08-27 2:32 ` Todd Deshane
2008-08-27 9:02 ` Samuel Thibault
2008-08-27 15:33 ` Samuel Thibault
2008-08-27 19:33 ` Todd Deshane
2008-08-27 23:05 ` Samuel Thibault
2008-08-28 0:48 ` Todd Deshane
2008-08-28 8:57 ` Samuel Thibault
2008-08-28 13:34 ` Todd Deshane
2008-08-28 13:48 ` Samuel Thibault
2008-08-28 17:17 ` Todd Deshane
2008-08-28 17:25 ` Samuel Thibault
2008-08-28 17:31 ` Todd Deshane
2008-08-28 17:33 ` Samuel Thibault
2008-09-03 12:18 ` Marco Sinhoreli
2008-09-03 21:01 ` Samuel Thibault
2008-09-03 21:12 ` Marco Sinhoreli
2008-08-28 14:04 ` Samuel Thibault
2008-08-28 14:11 ` Todd Deshane
2008-08-27 15:55 ` [PATCH] stubdom: make xc_map_foreign_ranges use malloc instead of stack space [Was: PV Grub Questions] Samuel Thibault
2008-08-28 14:43 ` PV Grub Questions Samuel Thibault
2008-08-28 15:13 ` Todd Deshane
2008-08-28 15:27 ` Samuel Thibault [this message]
2008-08-28 15:02 ` Samuel Thibault
2008-08-28 15:50 ` Samuel Thibault
2008-08-28 16:51 ` Marco Sinhoreli
2008-08-28 17:29 ` Samuel Thibault
2008-09-25 21:06 ` Marco Sinhoreli
2008-09-26 8:05 ` Samuel Thibault
2008-09-26 17:22 ` Marco Sinhoreli
2008-09-26 18:39 ` Samuel Thibault
2008-09-26 20:14 ` Marco Sinhoreli
2008-11-10 0:32 ` Samuel Thibault
2009-04-22 13:55 ` Marco Sinhoreli
2008-08-28 17:27 ` Todd Deshane
2008-08-28 17:32 ` Samuel Thibault
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080828152737.GY4523@implementation.uk.xensource.com \
--to=samuel.thibault@eu.citrix.com \
--cc=deshantm@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.