WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] how to fix problems with ioemu, tap, windows and qemu.

To: Henning Sprang <henning_sprang@xxxxxx>
Subject: Re: [Xen-users] how to fix problems with ioemu, tap, windows and qemu.
From: Ryan Worsley <R.C.Worsley@xxxxxxxxxxxx>
Date: Tue, 12 Dec 2006 14:27:25 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 12 Dec 2006 06:27:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5bb00b3f0612120420o236dbb0dl5e6419a95f5665e1@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <457D6E94.5090807@xxxxxxxxxxxx> <5bb00b3f0612120420o236dbb0dl5e6419a95f5665e1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
Henning Sprang wrote:
On 12/11/06, Ryan Worsley <R.C.Worsley@xxxxxxxxxxxx> wrote:
[...]
Could not initialize device 'tap'

RHEL might require some very special tweaks, but I didn't have to
touch the tap devices manually as of yet.

How does youe vm config file lool like?

Henning
Hey Henning,

It looks like this;

import os, re
arch = os.uname()[4]
if re.search('64', arch):
       arch_libdir = 'lib64'
else:
       arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
name = "xp"
vif = [ 'type=ioemu, mac=00:16:3e:00:10:01, ip=10.0.0.2' ]
disk = [ 'phy:/dev/sys_vg/windows_os,ioemu:hda,w', 'phy:/dev/hda,hdc:cdrom,r' ]
device_model = '/usr/lib64/xen/bin/qemu-dm'
cdrom='/var/scratch/windows_xp_corp.iso'
boot="c"
sdl=1
vnc=0
vncviewer=0
ne2000=0

As this is for my windows xp guest, however I haven't actually gotten the network working yet!

All the best,

Ryan.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>