|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] vanilla kernel and xen (in general), vanilla 2.6.24 and
Emre Erenoglu írta:
> On Jan 31, 2008 9:48 AM, Jan Marquardt <jm@xxxxxxxxxxx
> <mailto:jm@xxxxxxxxxxx>> wrote:
>
> Hi Emre,
>
> thanks for your response.
>
> Do I understand correctly that no special option is needed in the
> configuration? I asking, because I have already tried a kernel in
> version 2.6.24, but I got the error:
>
>
> Normally not, maybe your kernel was not built with the XEN options
> enabled in the kernel configuration file?
>
> Emre
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
Hi everybody,
After some fighting with the hvc console and xvd disks I figured out how
to write such a config file.
Here is my quite minimalistic example:
name = 'whatever'
memory = '1024'
disk = [ 'phy:/dev/xenU/fsys,0x20201,w', 'phy:/dev/xenU/swap,0x20202,w' ]
vif = [ 'mac=00:16:3e:00:00:ff, bridge=lanbr' ]
kernel = '/boot/vmlinuz-2.6.24-1-xen-686'
ramdisk = '/boot/initrd.img-2.6.24-1-xen-686'
#extra = 'earlyprintk=xen console=hvc root=/dev/sda1 ro'
extra = 'console=hvc root=/dev/xvda1 ro'
As you can see I use lvm for domU storage. The Dom0 is runing Debian
etch with xen kernel from the distro, and xen-3.2 backported from sid
(kernel 2.6.24 from the same source).
For me the tricky part was to figure out the right console=hvc and the
right block major/minor numbers for my (xvda1 ad xvda2) partitions
(because the Dom0 has no xvd devices it has no idea what numbers to
report to the DomU if you just put xvda1 and xvda2 instead of numbers).
Best regards,
Geza
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- Re: [Xen-users] vanilla kernel and xen (in general), vanilla 2.6.24 and xen,
Gémes Géza <=
|
|
|
|
|