From owner-soc-status@FreeBSD.ORG Wed Jul 24 21:36:23 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9FB1228E for ; Wed, 24 Jul 2013 21:36:23 +0000 (UTC) (envelope-from fivo.11235813@gmail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 392942D27 for ; Wed, 24 Jul 2013 21:36:23 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id p58so771718wes.40 for ; Wed, 24 Jul 2013 14:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=QFwFn7pFEGc9rtDX3jdJeGipPjYI70dp2AK2BQBtDCI=; b=b2gMHx3xSdisH0MOyMzHIHdQE5otqCstpbAo8dc6oduyHvCnyJi9L4nWhH+ZOGqePs BXAdtCqLkR4YJbA0XbF5WKWdYHtdxtIOWsHL6kGLg4NBHelXuvD8QnDIsn3PYONlEXkn ObciCDgEjhi2lV0VSbe142SZ/cu6shGhXu//iwPqKz+wxmIo5oG8yvy2TDwaKhA7BV/a Wi3npeqKVbY/lPVsfWtVm51DtsrgkUEW4kz9Y+t27Ahpe3/3W11WnCfGPXwW+cnpXGbf ziAPA9c7AxaQ3Uh0izlp7W/VtUPQRzWuJxV/rlDVCGsjnJrfJ7vIZEwFi+M6oEfh/Eut 3CZQ== X-Received: by 10.180.109.33 with SMTP id hp1mr1769966wib.51.1374701781597; Wed, 24 Jul 2013 14:36:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.6.229 with HTTP; Wed, 24 Jul 2013 14:36:00 -0700 (PDT) From: =?UTF-8?Q?Iori=E3=80=80YONEJI?= Date: Thu, 25 Jul 2013 06:36:00 +0900 Message-ID: Subject: GSoC status Week #5: BHyVe suspend/resume To: soc-status@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jul 2013 21:36:23 -0000 Hi all. [project summary] The project goal is to append suspend/resume feature to BHyVe(BSD hypervisor). [what's done] In this week, I've done these things: - add NMI issue in suspend ioctl so that VM guest sleep immediately. - add implementation to copy all register state except x87/MMX/SSE registers s\to userland in ioctl. - test ioctl with small userland application. - add suspend hook in vmrun so suspend handling to be called either in kernel and in userland(bhyve). [under development] - save x87/MMX/SSE registers (suspend-hook). - save bhyve process depending state(like ctx). [will be opened in a week] - dump guest memory - restore registers