From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LA0h2-0002r5-Hy for qemu-devel@nongnu.org; Tue, 09 Dec 2008 06:23:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LA0h1-0002pt-KT for qemu-devel@nongnu.org; Tue, 09 Dec 2008 06:23:55 -0500 Received: from [199.232.76.173] (port=46528 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LA0h1-0002pm-GZ for qemu-devel@nongnu.org; Tue, 09 Dec 2008 06:23:55 -0500 Received: from mx1.redhat.com ([66.187.233.31]:50155) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LA0h1-0000V4-3Z for qemu-devel@nongnu.org; Tue, 09 Dec 2008 06:23:55 -0500 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id mB9BNpvk001011 for ; Tue, 9 Dec 2008 06:23:51 -0500 Received: from file.fab.redhat.com (file.fab.redhat.com [10.33.63.6]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mB9BNoQ4028934 for ; Tue, 9 Dec 2008 06:23:50 -0500 Received: from file.fab.redhat.com (localhost.localdomain [127.0.0.1]) by file.fab.redhat.com (8.13.1/8.13.1) with ESMTP id mB9BNnhm032036 for ; Tue, 9 Dec 2008 11:23:49 GMT Received: (from berrange@localhost) by file.fab.redhat.com (8.13.1/8.13.1/Submit) id mB9BNnUf032032 for qemu-devel@nongnu.org; Tue, 9 Dec 2008 11:23:49 GMT Date: Tue, 9 Dec 2008 11:23:49 +0000 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] [PATCH 0/4] Add nic link up/down emulation to e1000 Message-ID: <20081209112349.GG15102@redhat.com> References: <1228820143-23580-1-git-send-email-markmc@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1228820143-23580-1-git-send-email-markmc@redhat.com> Reply-To: "Daniel P. Berrange" , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Tue, Dec 09, 2008 at 10:55:39AM +0000, Mark McLoughlin wrote: > Hi, > Here's a small patch set which adds link up/down > emulation to e1000 via a "set_link" monitor command. This is > useful for people who want to e.g. test how applications > and/or the guest OS handles this condition. It sounds like it could also be useful for people who use bridging of guests to the LAN on mobile devices. eg, a management tool could monitor for when I unplugged my laptop from the ethernet and set the guest link down. When I then plug it back it, it'd set the link back up, and the guest (if using NetworkManager or equivalent) would be able to correctly DHCP a new address. In current scenario with the guest totally unaware of host link sstatus, they just continue using the original bogus DHCP address at least until the renew time. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|