From owner-freebsd-virtualization@FreeBSD.ORG Mon Jun 10 11:06:58 2013 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 834E995 for ; Mon, 10 Jun 2013 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6BE8D1CA0 for ; Mon, 10 Jun 2013 11:06:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5AB6wGI097156 for ; Mon, 10 Jun 2013 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5AB6vno097154 for freebsd-virtualization@FreeBSD.org; Mon, 10 Jun 2013 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Jun 2013 11:06:57 GMT Message-Id: <201306101106.r5AB6vno097154@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-virtualization@FreeBSD.org Subject: Current problem reports assigned to freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 11:06:58 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/170096 virtualization[vimage] Dynamically-attached network interface will c o kern/169991 virtualization[run] [vimage] panic after device plugged in o kern/165252 virtualization[vimage] [pf] [panic] kernel panics with VIMAGE and PF o kern/161094 virtualization[vimage] [pf] [panic] kernel panic with pf + VIMAGE wh o kern/160541 virtualization[vimage][pf][patch] panic: userret: Returning on td 0x o kern/160496 virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE o kern/148155 virtualization[vimage] [pf] Kernel panic with PF + VIMAGE kernel opt a kern/147950 virtualization[vimage] [carp] VIMAGE + CARP = kernel crash s kern/143808 virtualization[pf] pf does not work inside jail a kern/141696 virtualization[rum] [vimage] [panic] rum(4)+ vimage = kernel panic 10 problems total. From owner-freebsd-virtualization@FreeBSD.ORG Mon Jun 10 14:48:25 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4A4C1B68; Mon, 10 Jun 2013 14:48:25 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) by mx1.freebsd.org (Postfix) with ESMTP id 986311CB9; Mon, 10 Jun 2013 14:48:24 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,837,1363132800"; d="scan'208";a="5490830" Received: from lonpex01cl01.citrite.net ([10.30.203.101]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 10 Jun 2013 14:48:18 +0000 Received: from Roger-2.local (10.30.203.1) by LONPEX01CL01.citrite.net (10.30.203.101) with Microsoft SMTP Server id 14.2.342.3; Mon, 10 Jun 2013 15:48:17 +0100 Message-ID: <51B5E730.6070007@citrix.com> Date: Mon, 10 Jun 2013 16:48:16 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "freebsd-xen@freebsd.org" Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> In-Reply-To: <519E54DE.5090304@citrix.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.30.203.1] Cc: "xen-users@lists.xen.org" , "Justin T. Gibbs" , "freebsd-virtualization@freebsd.org" , xen-devel X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 14:48:25 -0000 Hello, I've pushed a new branch, pvhvm_v14 that contains support for live migration. While there I've also rebased the changes on top of current HEAD, so now it contains the recent fixes to blkfront and netfront. http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvhvm_v14 Some notes on this branch, I've mainly tested it with Xen 4.3 (unstable) because previous Xen versions have problems with the PV clock used in PVHVM when migrating. In order to be able to migrate a PVHVM guest you will need to add tsc_mode="native_paravirt" to your config file or apply the following patch to Xen: http://marc.info/?l=xen-devel&m=137036010517331 I would say that migration across the 4.x series will work without problems (because they all have support for vector callback injection), but migrating from 4.x to 3.x will certainly not work. On the other hand, migrating a guest started on 3.4 to 4.0 should work, although I have not tested it. Also, if the migration process fails for some reason, resuming the original guest on the sender side will leave the VM without working nics and disks, this is a problem with netfront and blkfront not being able to resume after suspension if the guest was not actually migrated. Roger. From owner-freebsd-virtualization@FreeBSD.ORG Mon Jun 10 15:09:02 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 90DD11FC; Mon, 10 Jun 2013 15:09:02 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 4479F1DAB; Mon, 10 Jun 2013 15:09:02 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id fb19so10260990obc.9 for ; Mon, 10 Jun 2013 08:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=O07a+QIM9+e5BSejvCSM8Ta95EPYa2Qma1gJWeZpPvU=; b=ATKScjtOkvs+LcDzmTfXGaqFja9YhRWo4AFdLo/V4vuCrtganbfgMy6fnDORhGL41q +WVntmCiP5rxXl0V4wcl/ngNbqPiPMZiwkLaziohrooy6mLOVBvIEzsSnKeQ/1ezKgm1 ikqQgCXGn40g5cBESfYQquSPBCwcoaXxeHCIy831qk5Sj3kEBaO4YZmKXVfDMrd3z776 Z9UgHe5vOZotsFQHzJ2WC659T8pXkl4nUVuqvdt9EceIuA32nlBydCFAfJTXHdWG/gXf 8TMnn5sCOlN29Sa/13WwufTRS5Sq30BDfWyyn9J/eHuxZ8rh9d6JAWswOgLY+GyMUdBb lnmA== MIME-Version: 1.0 X-Received: by 10.60.80.39 with SMTP id o7mr4221320oex.60.1370876941827; Mon, 10 Jun 2013 08:09:01 -0700 (PDT) Received: by 10.76.27.3 with HTTP; Mon, 10 Jun 2013 08:09:01 -0700 (PDT) In-Reply-To: <51B5E730.6070007@citrix.com> References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> Date: Mon, 10 Jun 2013 11:09:01 -0400 Message-ID: Subject: Re: FreeBSD PVHVM call for testing From: Outback Dingo To: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-xen@freebsd.org" , "Justin T. Gibbs" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 15:09:02 -0000 On Mon, Jun 10, 2013 at 10:48 AM, Roger Pau Monn=E9 w= rote: > Hello, > > I've pushed a new branch, pvhvm_v14 that contains support for live > migration. While there I've also rebased the changes on top of current > HEAD, so now it contains the recent fixes to blkfront and netfront. > > > http://xenbits.xen.org/gitweb/?p=3Dpeople/royger/freebsd.git;a=3Dshortlog= ;h=3Drefs/heads/pvhvm_v14 looking at your master branch your 2 weeks behind current... so where did you rebase your changes to head, or are you referring to your HEAD, and not FreeBSD From owner-freebsd-virtualization@FreeBSD.ORG Mon Jun 10 15:16:23 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 18CC2487; Mon, 10 Jun 2013 15:16:23 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) by mx1.freebsd.org (Postfix) with ESMTP id 6606C1DF1; Mon, 10 Jun 2013 15:16:21 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,837,1363132800"; d="scan'208";a="5491948" Received: from lonpex01cl02.citrite.net ([10.30.203.102]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 10 Jun 2013 15:16:21 +0000 Received: from Roger-2.local (10.30.203.1) by LONPEX01CL02.citrite.net (10.30.203.102) with Microsoft SMTP Server id 14.2.342.3; Mon, 10 Jun 2013 16:16:20 +0100 Message-ID: <51B5EDC3.50206@citrix.com> Date: Mon, 10 Jun 2013 17:16:19 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Outback Dingo Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.30.203.1] Cc: "freebsd-xen@freebsd.org" , "Justin T. Gibbs" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 15:16:23 -0000 On 10/06/13 17:09, Outback Dingo wrote: > > > > On Mon, Jun 10, 2013 at 10:48 AM, Roger Pau Monné > wrote: > > Hello, > > I've pushed a new branch, pvhvm_v14 that contains support for live > migration. While there I've also rebased the changes on top of current > HEAD, so now it contains the recent fixes to blkfront and netfront. > > http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvhvm_v14 > > > looking at your master branch your 2 weeks behind current... so where > did you rebase your changes to head, or are you referring to your HEAD, > and not FreeBSD No, my HEAD commit from FreeBSD master repository is from 3 days ago: http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=commit;h=5311e12c931df9b67b64913670eab76a994317b9 This is the commit where I rebased my pvhvm_v14 branch. From owner-freebsd-virtualization@FreeBSD.ORG Thu Jun 13 17:20:28 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E89B6B8; Thu, 13 Jun 2013 17:20:28 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) by mx1.freebsd.org (Postfix) with ESMTP id 442B81917; Thu, 13 Jun 2013 17:20:27 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,860,1363132800"; d="scan'208";a="5633859" Received: from lonpex01cl03.citrite.net ([10.30.203.103]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 13 Jun 2013 17:20:21 +0000 Received: from Roger-2.local (10.30.203.1) by LONPEX01CL03.citrite.net (10.30.203.103) with Microsoft SMTP Server id 14.2.342.3; Thu, 13 Jun 2013 18:20:20 +0100 Message-ID: <51B9FF53.2020901@citrix.com> Date: Thu, 13 Jun 2013 19:20:19 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "freebsd-xen@freebsd.org" Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> In-Reply-To: <51B5E730.6070007@citrix.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.30.203.1] Cc: "xen-users@lists.xen.org" , "Justin T. Gibbs" , "freebsd-virtualization@freebsd.org" , xen-devel X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 17:20:29 -0000 On 10/06/13 16:48, Roger Pau Monné wrote: > Hello, > > I've pushed a new branch, pvhvm_v14 that contains support for live > migration. While there I've also rebased the changes on top of current > HEAD, so now it contains the recent fixes to blkfront and netfront. > > http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvhvm_v14 Hello, There where some issues with the previous branch (pvhvm_v14), I've pushed a new one (pvhvm_v16) that fixes the following bugs: * Make sure there are no IPIs in flight while the VM is migrated, having in-flight IPIs is a problem because on resume the event channels are re-initialized, so all pending events are lost, including IPIs. * Reset the clock after migration, this prevent clock drifts when the VM is migrated. * blkfront was not correctly freeing the old event channel port. The following two commits are needed for Xen: f8e8fd56bd7d5675e8331b4ec74bae76c9dbf24e x86/HVM: fix initialization of wallclock time for PVHVM on migration 32c864a35ece2c24a336d183869a546798a4b241 x86/vtsc: update vcpu_time in hvm_set_guest_time With this branch I've been able to successfully local migrate a busy VM 400 times consecutively. As usual, the branch can be found here: http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvhvm_v16