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

Re: [Xen-users] Unable to start HVM domU



On Thu, Apr 4, 2019, 22:13 Manfred Haertel, DB3HM <Manfred.Haertel@xxxxxxxxxxxx> wrote:
Ryan Chewning schrieb:

> I'm trying to troubleshoot why i'm unable to launch a Xen HVM guest. I'm
> encountering the following error, *map shared IO page returned error 3 *
>
> /usr/lib64/xen/bin/qemu-dm -boot cd -m 2048M -vnc 127.0.0.1:0
> -drive
> file=/var/lib/xen/ol7-app-template2/ol7-app-template,if=virtio,cache=writeback,format=raw
> -name ol7-app-template -d all

You can not start a Xen guest by just starting the device model (qemu).
You have to use "xl create", which starts qemu among other initializations.

qemu emulates *some* devices, but para-virtualized devices, memory
management etc. are done by the hypervisor, which doesn't know that you
started qemu...

--
Manfred Härtel, DB3HM    mailto:Manfred.Haertel@xxxxxxxxxxxx
                          http://rz-home.de/mhaertel

Well that would explain why I'm getting this error message. To clarify this a bit more. I'm using a seperate program called Packer to build VM templates. Packer uses Qemu to build the VM according to their documentation. https://www.packer.io/docs/builders/qemu.html  I've not been able to find any documentation of how to get Qemu to start a Xen domU machine. Might anyone here have a good suggestion on how to do that?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.