Using cloud image with Xen

Eric V. Smith eric at trueblade.com
Thu Jan 23 21:12:54 UTC 2014


This is likely the wrong place to ask this question, but it's the best I
could come up with. I've searched high and low for an answer, but to no
avail. If there's a better venue, please direct me there.

I want to use one of the Fedora 20 images to run a VM on a locally
installed Xen server. Dom0 is also Fedora 20.

I've been trying to use virt-install. When I install the instance with:

virt-install --graphics=none --name=test --ram=1024 --import
--disk=Fedora-x86_64-20-20131211.1-sda.raw --network=bridge:br0 --debug

I get:
...
[Thu, 23 Jan 2014 16:05:41 virt-install 10918] DEBUG (virt-install:664)
Connecting to text console
[Thu, 23 Jan 2014 16:05:41 virt-install 10918] DEBUG (virt-install:574)
Running: /usr/bin/virsh --connect xen:/// console 15
Connected to domain test
Escape character is ^]
error: internal error: cannot find character device (null)

In /var/log/xen/qemu-dm-test.log I see:
domid: 15
Warning: vlan 0 is not connected to host network
-videoram option does not work with cirrus vga device model. Videoram
set to 4M.
/builddir/build/BUILD/xen-4.3.1/tools/qemu-xen-traditional/hw/xen_blktap.c:628:
Init blktap pipes
Could not open /var/run/tap/qemu-read-15
xs_read(): target get error. /local/domain/15/target.

The bridge br0 exists. I've run a similar setup in Fedora 16, but there
I created the image files myself with boxgrinder. I can do something
similar here, but I'd rather just use the stock image.

The instructions for the default cloud image all seem geared to EC2 or
OpenStack. How can I find out what's required for using this image with Xen?

I've tried --extra-args="console=ttyS0,115200", but it looks like that
won't work for a local image file. But maybe I'm misunderstanding the
error "--extra-args only work if specified with --location".

Thanks for reading this far!

-- 
Eric.


More information about the cloud mailing list