<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.2">
</HEAD>
<BODY>
<TT><FONT COLOR="#000000">Package: xen-utils-3.2-1</FONT></TT><BR>
<TT><FONT COLOR="#000000">Version: 3.2.1-2</FONT></TT><BR>
<TT><FONT COLOR="#000000">Severity: normal</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Under this Xen setup, (Linux) HVM guests fail to have network active when</FONT></TT><BR>
<TT><FONT COLOR="#000000">running with *routed* networking, as some hosting providers require (in my</FONT></TT><BR>
<TT><FONT COLOR="#000000">case, OVH).</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">In this scenario:</FONT></TT><BR>
<TT><FONT COLOR="#000000"> * the host is a described below</FONT></TT><BR>
<TT><FONT COLOR="#000000"> * the guest runs as HVM.</FONT></TT><BR>
<TT><FONT COLOR="#000000"> * the guest runs exclusively with ioemu; virtual network drivers are not</FONT></TT><BR>
<TT><FONT COLOR="#000000"> available (vanilla lenny guest, xen-vnif.ko does not exist, xen-netfront</FONT></TT><BR>
<TT><FONT COLOR="#000000"> refuses to load despite the XenBus PCI device appearing)</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">What xen/qemu-dm did is to build two network interfaces:</FONT></TT><BR>
<TT><FONT COLOR="#000000"> * vifN.0 was used to send packets from the host to the guest</FONT></TT><BR>
<TT><FONT COLOR="#000000"> routing was enabled towards this interface. No virtual hardware</FONT></TT><BR>
<TT><FONT COLOR="#000000"> drivers took care of this network link, so all packets ended up</FONT></TT><BR>
<TT><FONT COLOR="#000000"> dropped.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000"> * tapM was used by the guest to deliver packets from its virtual</FONT></TT><BR>
<TT><FONT COLOR="#000000"> eth0. All packets were classified "martians" by the host and</FONT></TT><BR>
<TT><FONT COLOR="#000000"> rejected.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">The reason why this happened is that the scripts/qemu-dm script *assumes*</FONT></TT><BR>
<TT><FONT COLOR="#000000">only bridging is ever used, and the scripts/vif-routing *assumes* only</FONT></TT><BR>
<TT><FONT COLOR="#000000">netfront is ever used. Here we have routing and ioemu, which causes the</FONT></TT><BR>
<TT><FONT COLOR="#000000">failure described above.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000"> -- Cyrille</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">-- System Information:</FONT></TT><BR>
<TT><FONT COLOR="#000000">Debian Release: squeeze/sid</FONT></TT><BR>
<TT><FONT COLOR="#000000"> APT prefers testing</FONT></TT><BR>
<TT><FONT COLOR="#000000"> APT policy: (800, 'testing'), (600, 'unstable')</FONT></TT><BR>
<TT><FONT COLOR="#000000">Architecture: amd64 (x86_64)</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/4 CPU cores)</FONT></TT><BR>
<TT><FONT COLOR="#000000">Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)</FONT></TT><BR>
<TT><FONT COLOR="#000000">Shell: /bin/sh linked to /bin/bash</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Versions of packages xen-utils-3.2-1 depends on:</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii e2fslibs 1.41.9-1 ext2/ext3/ext4 file system librari</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii iproute 20090324-1 networking and traffic control too</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii libc6 2.9-25 GNU C Library: Shared libraries</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii libgcrypt11 1.4.4-4 LGPL Crypto library - runtime libr</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii libgnutls26 2.8.4-1 the GNU TLS library - runtime libr</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii libncurses5 5.7+20090803-2 shared libraries for terminal hand</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii libxenstore3.0 3.4.0-2 Xenstore communications library fo</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii python 2.5.4-2 An interactive high-level object-o</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii python-central 0.6.11 register and build utility for Pyt</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii udev 146-5 /dev/ and hotplug management daemo</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii xen-utils-common 3.3.1-2 XEN administrative tools - common </FONT></TT><BR>
<TT><FONT COLOR="#000000">ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Versions of packages xen-utils-3.2-1 recommends:</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii bridge-utils 1.4-5 Utilities for configuring the Linu</FONT></TT><BR>
<TT><FONT COLOR="#000000">ii xen-hypervisor-3.2-1-amd64 [x 3.2.1-2 The Xen Hypervisor on AMD64</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">Versions of packages xen-utils-3.2-1 suggests:</FONT></TT><BR>
<TT><FONT COLOR="#000000">pn xen-docs-3.2 <none> (no description available)</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">-- no debconf information</FONT></TT>
</BODY>
</HTML>