Mailinglist Archive: opensuse-virtual (28 mails)

< Previous Next >
Re: [opensuse-virtual] pvgrub2-boot of Opensuse Xen DomU -- possible? documentation? example?
On 10/30/2015 02:55 PM, PGNet Dev wrote:
On 10/30/2015 01:38 PM, Charles Arnold wrote:
Here is a generic (but working) example of a config file.
What I am not using in this example is the 'root' option.

name="os13.2pv"
description="None"
uuid="09e84b64-5b3d-bb48-7fe3-488e7058878d"
memory=1024
maxmem=1024
vcpus=2
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
localtime=0
keymap="en-us"
builder="linux"
kernel="/usr/lib/grub2/x86_64-xen/grub.xen"
disk=[ '/dev/dm-0,raw,xvda,w,backendtype=phy', ]
vif=[ 'mac=00:16:3e:0d:cb:82,bridge=br0', ]
vfb=['type=vnc,vncunused=1']


I note your use of format

disk=[ '/dev/dm-0,raw,xvda,w,backendtype=phy', ]

Noting that my usage boots just fine using pygrub,

disk = [ 'phy:/dev/VG0/testBOOT,xvda,w',
'phy:/dev/VG0/testROOT,xvdc,w',
]

is a change to 'your' format *required* here?

I haven't followed this discussion, but the the answer to the general question
you ask here is no. The first format is the new xl disk config format, described
in $xen-src/docs/misc/xl-disk-configuration.txt and xl.cfg(5). The second format
is the old xmdomain.cfg(5) format. But the old format should still be supported.
With the exception of embedded python, a Xen community goal was to support
existing domain config when moving from xm/xend to xl/libxl.



Also, instead of a root-vol spec'n,

root = '(xen/xvda,msdos1)'

you appear to use a UUID spec,

uuid="09e84b64-5b3d-bb48-7fe3-488e7058878d"

In this context, uuid is simply domain metadata, similar to name, id,
description, etc.

Regards,
Jim

--
To unsubscribe, e-mail: opensuse-virtual+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-virtual+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups