From patchwork Thu Jun 30 08:41:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asias He X-Patchwork-Id: 932392 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5U8jwTt025163 for ; Thu, 30 Jun 2011 08:45:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757054Ab1F3Ipz (ORCPT ); Thu, 30 Jun 2011 04:45:55 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:43568 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757363Ab1F3Ipy (ORCPT ); Thu, 30 Jun 2011 04:45:54 -0400 Received: by mail-iw0-f174.google.com with SMTP id 6so1718423iwn.19 for ; Thu, 30 Jun 2011 01:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=lMvdlxxaJ5h4SMC1rAh1rXrdOXdj0fcttI/M9TeKO44=; b=uiBvqiDAQhGIE4G3qJPqYSmig0MqiJVWknomhKgnECK0SjWapDdYMMALL167VxyeFC ceWFnHDpw0/v58ye4VAu3JPneNW/+DkkNy/3cNVX8itDdcOas9503KLGaNO8KrLviQKf e+CeKBwB6NWs9PR8qz+qEpbwXCIi6ZnRp2t8w= Received: by 10.42.154.66 with SMTP id p2mr1558580icw.453.1309423553948; Thu, 30 Jun 2011 01:45:53 -0700 (PDT) Received: from localhost.localdomain ([219.224.169.130]) by mx.google.com with ESMTPS id d6sm1967338icx.1.2011.06.30.01.45.50 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Jun 2011 01:45:53 -0700 (PDT) From: Asias He To: Pekka Enberg Cc: Cyrill Gorcunov , Ingo Molnar , Sasha Levin , Prasad Joshi , kvm@vger.kernel.org, Asias He Subject: [PATCH v2 29/31] kvm tools: Make default network mode to user mode Date: Thu, 30 Jun 2011 16:41:17 +0800 Message-Id: <1309423279-3093-30-git-send-email-asias.hejun@gmail.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1309423279-3093-1-git-send-email-asias.hejun@gmail.com> References: <1309423279-3093-1-git-send-email-asias.hejun@gmail.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 30 Jun 2011 08:45:58 +0000 (UTC) Signed-off-by: Asias He --- tools/kvm/kvm-run.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/kvm/kvm-run.c b/tools/kvm/kvm-run.c index a16a482..c293b49 100644 --- a/tools/kvm/kvm-run.c +++ b/tools/kvm/kvm-run.c @@ -42,7 +42,7 @@ #define DEFAULT_KVM_DEV "/dev/kvm" #define DEFAULT_CONSOLE "serial" -#define DEFAULT_NETWORK "virtio" +#define DEFAULT_NETWORK "user" #define DEFAULT_HOST_ADDR "192.168.33.2" #define DEFAULT_GUEST_MAC "00:15:15:15:15:15" #define DEFAULT_SCRIPT "none"