Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OVMF, lvm devices, and hvm guests



On Wed, 24 Aug 2022 15:17:59 -0400, Brad Spencer wrote:
> Usually I like to use LVM raw devices for Xen guests rather than files.
> So, I created a LVM LV that was exactly the same size as the file based
> disk used in the previous section.  I then dd'ed the contents of the
> file into the raw LVM LV and adjusted the guest config to the LVM LV
> block device.  This does not work.  One of a couple of things happen:
> 
> 1) If the kernel actually boots up, it will not be able to find it root
> filesystem and nothing that I put in telling it what that was helped.  I
> had actually noticed before that I was unable to use the new qemu-dm
> with old HVM guests and had to use use qemu traditional (and I think
> RomBIOS) instead.  Those HVM guests had the same problem in that the
> SeaBIOS could not find a bootable disk while the older qemu could.

What path are you using in your HVM config? This is what mine looks like 
for example:
disk=[ '/dev/mapper/rvg0-NetBSD01,raw,sda,w' ]



Home | Main Index | Thread Index | Old Index