From owner-freebsd-virtualization@freebsd.org Tue Aug 25 18:19:41 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 027009C3BA5 for ; Tue, 25 Aug 2015 18:19:41 +0000 (UTC) (envelope-from prasadjoshi.linux@gmail.com) Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B52AFEEE; Tue, 25 Aug 2015 18:19:40 +0000 (UTC) (envelope-from prasadjoshi.linux@gmail.com) Received: by vkif69 with SMTP id f69so71067643vki.3; Tue, 25 Aug 2015 11:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/ADfm/uoLveV8/RaPQ4PfhnHF1Yal8WU2rxo9LpbX3Q=; b=YeAfncP68O8fPKx2oGPGT3bfAcOJkdI7wn/l41oqyDfowq+CXyJkj2Vu4Hr+IgfYR3 1XnhXMIsb2d0exEKJ+P+8yqQSTDpVnXbVIjP80kP2O+BHD7DNZUx94Asz/HJ62XFgtWS I2k6HC4xj71XNUG0Uoo74eowgKmsXTGGxh+iVyI+zQ18gHEJUCQdcIND5zZNeKrHHi06 czbKWHINNxAfnIm4+Hs8dsYt1Wqbt5zzxgwqAE9cdrOKQKiZcJ+I97Uz9mdp+xtjFx4w rvbxdHQLM5XpKDRHtclzq06cIkkiFTvYcSHO6v3IRToab6eu9uz+91wwpQHr3QXduu6v /xVg== MIME-Version: 1.0 X-Received: by 10.53.6.38 with SMTP id cr6mr40282370vdd.54.1440526779789; Tue, 25 Aug 2015 11:19:39 -0700 (PDT) Received: by 10.31.50.6 with HTTP; Tue, 25 Aug 2015 11:19:39 -0700 (PDT) Date: Tue, 25 Aug 2015 23:49:39 +0530 Message-ID: Subject: bhyve virtio-scsi support From: Prasad Joshi To: freebsd-virtualization@freebsd.org, Peter Grehan , Neel Natu , Tycho Nightingale , Allan Jude , Alexander Motin , Marcelo Araujo Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 25 Aug 2015 18:19:41 -0000 I missed to change the subject line. Thanks and Regards, Prasad On Tue, Aug 25, 2015 at 11:48 PM, Prasad Joshi wrote: > Hello All, > >> bhyve >> >> Links >> bhyve FAQ and talks >> URL: http://www.bhyve.org >> >> Contact: Peter Grehan >> Contact: Neel Natu >> Contact: Tycho Nightingale >> Contact: Allan Jude >> Contact: Alexander Motin >> Contact: Marcelo Araujo >> >> bhyve is a hypervisor that runs on the FreeBSD/amd64 platform. At >> present, it runs FreeBSD (8.x or later), Linux i386/x64, OpenBSD >> i386/amd64, and NetBSD/amd64 guests. Current development is focused on >> enabling additional guest operating systems and implementing features >> found in other hypervisors. >> >> bhyve BoF at BSDCan 2015 >> >> A bhyve BoF was held during lunch hour at BSDCan 2015. It was attended >> by approximately 60 people. >> >> Michael Dexter showed Windows Server 2012 running inside bhyve. >> >> Common themes that came up during the discussion were: bhyve >> configuration, libvirt and OpenStack integration, best practices, bhyve >> with ZFS, additional guest support and live migration. >> >> Google Summer of Code 2015 >> >> A number of bhyve-related proposals were submitted for GSoC 2015 and >> these four were accepted: >> * NE2000 device emulation >> * Porting bhyve to ARM >> * ptnetmap support in bhyve >> * PXE boot support in bhyveload >> >> A number of improvements were made to bhyve this quarter: >> * GEOM storage backend now works properly with bhyve. >> * Device model enhancements and new instruction emulations to support >> Windows guests. >> * Improve virtio-net performance by disabling queue notifications >> when not needed. >> * The dtrace FBT provider now works properly with vmm.ko. >> >> Marcelo Araujo and Allan Jude created a rough patch to make bhyve parse >> a config file to replace the existing method of configuration by >> command line invocation. The rapid pace of advancement in bhyve >> resulted in requiring a much more complex config file. A new design for >> the config file, with support for the plugin architecture that will >> eventually be introduced into bhyve, is now being discussed. >> >> Open tasks: >> >> 1. Improve documentation. >> 2. bhyveucl is a script for starting bhyve instances based on a libUCL >> config file. More information at >> https://github.com/allanjude/bhyveucl. >> 3. Add support for virtio-scsi. > > I think virtio-scsi support is very interesting. > > I skimmed through FreeBSD source, it seems like virtio-scsi guest > driver support is already present in FreeBSD. As far as I can > understand, at the moment the virtio-scsi support is absent in bhyve > host side. It seems like bhyve source implements virtio block > interface, which bhyve uses to attach raw disks to VM. A similar > functionality for virtio scsi devices has to be implemented. Please > let me know if any one has already started working on this. I would be > glad to help with development and/or testing. > > Thanks and Regards, > Prasad > >> 4. Flexible networking backend: wanproxy, vhost-net >> 5. Support running bhyve as non-root. >> 6. Add filters for popular VM file formats (VMDK, VHD, QCOW2). >> 7. Implement an abstraction layer for video (no X11 or SDL in base >> system). >> 8. Suspend/resume support. >> 9. Live Migration. >> 10. Nested VT-x support (bhyve in bhyve). >> 11. Support for other architectures (ARM, MIPS, PPC).