Hi,

personally I prefer to use option 1.


# Rename the original QEMU script:
mv /usr/lib/xen/bin/qemu-dm /usr/lib/xen/bin/qemu-dm.orig

# Replace with a wrapper script:
echo '#!/bin/bash
oldstring=$@
newstring=${oldstring//rtl8139/e1000}
exec /usr/lib/xen/bin/qemu-dm.orig $newstring' > /usr/lib/xen/bin/qemu-dm

# Make the wrapper script executable
chmod +x /usr/lib/xen/bin/qemu-dm


Regards,
Michael


On 16.11.12 18:53, Mike Larkin wrote:
> On Fri, Nov 16, 2012 at 04:43:42PM +0000, Rodolfo Gouveia wrote:
>> Hi all,
>> Has anybody tested XenServer 6.0 with OpenBSD 5.2  amd64 as a guest?
>> Network doesn't work and I all get are re0 watchdog timeout
>> over and over...
>>
>>
>> p.s. no dmesg because I don't have network access
>>
> 
> qemu's doing the device emulation and it does not implement the device's
> watchdog timer. You need to switch to a different emulated nic, or 
> patch the re(4) driver so that it doesn't expect a watchdog.
> 
> Two ways:
> 
> 1. Change the vif type in XenServer to be e1000 or ne2k
> 
> 2. There is a patch for NetBSD that disables the watchdog timer. A quick
> google search will find it for you. You might need to massage it a bit
> to get it to apply to -current.
> 
> -ml

Reply via email to