Issue getting my first Xen domU up
Eric Bautsch
eric.bautsch at pobox.com
Tue Feb 5 14:45:39 UTC 2019
Hi Roger.
Thanks for that.
Yes, tap not being there was the issue.....
And yes, the qemu-dm-titania.log would have been the place to look. I feel
pretty stupid. It says:
qemu-system-i386: -netdev
type=tap,id=net0,ifname=xnb3.0-emu,script=no,downscript=no: could not open
/dev/tap: No such file or directory
Got it running now.
Very much appreciated.
Eric
On 05/02/2019 14:09, Roger Pau Monné wrote:
> On Tue, Feb 05, 2019 at 07:17:55AM +0000, Eric Bautsch wrote:
>> Hi.
>>
>>
>> I'm trying to get a Xen domU up and running.
>>
>> I'm running FreeBSD 12.0. System is a new install.
>>
>>
>> I'm following the instructions here:
>>
>> https://www.freebsd.org/doc/handbook/virtualization-host-xen.html
>>
>>
>> My config file looks thus:
>>
>> builder = "hvm"
>> name = "titania"
>> memory = 8192
>> vcpus = 2
>> vif = [ 'mac=00:16:3E:11:11:21,bridge=bridge0' ]
>> disk = [ '/dev/zvol/zroot/titania0,raw,hda,rw' ]
>> vnc = 1
>> vnclisten = "0.0.0.0"
>> serial = "pty"
> That seems like a valid configuration.
>
>> Upon trying to create the domU, I think it's trying to tell me that it's got
>> issues with the storage, but that may be a red herring as the qemu command
>> seems to include the storage. Nevertheless, I have also tried with sda and
>> messed around with qcow2 (that one didn't work, but probably due to my wrong
>> incantation). Anyway here's the output from the above config file.
> It's indeed QEMU failing the start the problem here. Do you have the
> if_tap module loaded (`kldload if_tap`)?
>
> Can you provide the QEMU log, it should be in
> /var/log/xen/qemu-dm-titania.log.
>
> Thanks, Roger.
>
--
____
/ . Eric A. Bautsch
/-- __ ___ ______________________________________
/ / / / /
(_____/____(___(__________________/ email: eric.bautsch at pobox.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4127 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20190205/abe25886/attachment.bin>
More information about the freebsd-xen
mailing list