From owner-freebsd-virtualization@FreeBSD.ORG Wed May 22 15:27:21 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 9F340DC8 for ; Wed, 22 May 2013 15:27:21 +0000 (UTC) (envelope-from ykohut@onapp.com) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 24CE0DC0 for ; Wed, 22 May 2013 15:27:20 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id b15so1254537eae.16 for ; Wed, 22 May 2013 08:27:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=oUWEwIJ3t38+zPldr9E+ypvwxb3MPC1MIw4SuwB2qG4=; b=gozfwTcibOzV17t9qMx/83AWVwLkXNT+A0F5jGKxfp+lRqMTF5lKf3Z7nbv93aPBgs fMY94Z4OtvC2PnXHNNDuVBn2U4s48OZPZbfaQMYBUzFr4vqD5lSB4Pj8PDa1nfdXzWxB ANFtSAiHSFIMZgEfurvsPPUZIUSa9J3EAVgU2QzuQ6S6PTQGMvOtKI213BfhqX9rRyK+ hT3OpOuFCnaSnc/vu4MTTvbCgmI30DYn30Epxt2IReDUpmkLOqtkN/d7Ayt+2WXUNXuJ CPb8u/GHQTq6LyuKFPSzj0Xu0/Xq6kTdd34VK88Df0XsR3ipAkCsDjFVSQdqVM7DI/Iw PM3Q== X-Received: by 10.15.107.77 with SMTP id ca53mr19687223eeb.40.1369236440021; Wed, 22 May 2013 08:27:20 -0700 (PDT) Received: from [192.168.128.192] (ext.vps.lviv.ua. [194.44.160.178]) by mx.google.com with ESMTPSA id bp51sm10903796eeb.5.2013.05.22.08.27.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 08:27:18 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: FreeBSD PVHVM call for testing From: Yuriy Kohut In-Reply-To: <519131D8.9010307@citrix.com> Date: Wed, 22 May 2013 18:27:16 +0300 Message-Id: <7C420745-BAC0-4BD0-AB60-E3BC7F8BA2A7@onapp.com> References: <519131D8.9010307@citrix.com> To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQk/rES0vmmGw4y/15xPQ1CrAKsqZg+GGqo2s9ki+RJSLcZplf4RQ+2lVLe0/NXNZbPcn53n 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" , 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: Wed, 22 May 2013 15:27:21 -0000 Hi, I've just successfully run FreeBSD 9.1 based guest with 'pvhvm_v8' based = kernel under Xen 3.4.4. Hypervisor details: # xm info host : ******* release : 2.6.18-348.2.1.el5xen version : #1 SMP Tue Mar 5 17:05:33 EST 2013 machine : x86_64 nr_cpus : 4 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 1 cpu_mhz : 2128 hw_caps : = bfebfbff:28100800:00000000:00000340:009ce3bd:00000000:00000001:00000000 virt_caps : hvm total_memory : 6135 free_memory : 262 node_to_cpu : node0:0-3 node_to_memory : node0:262 xen_major : 3 xen_minor : 4 xen_extra : .4 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 = hvm-3.0-x86_32p hvm-3.0-x86_64=20 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=3D0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-52) cc_compile_by : root cc_compile_domain : ****** cc_compile_date : Wed Sep 5 18:01:10 EEST 2012 xend_config_format : 4 DomU details: # xm list --long h283bpm53f9rnx (domain (domid 61) (on_crash restart) (uuid a2cbcba9-1d66-87ce-6d2f-412e70eab051) (bootloader_args ) (vcpus 2) (name h283bpm53f9rnx) (on_poweroff destroy) (on_reboot restart) (cpus (() ())) (bootloader ) (maxmem 1024) (memory 1024) (shadow_memory 10) (features ) (on_xend_start ignore) (on_xend_stop ignore) (start_time 1369235607.92) (cpu_time 31.914003553) (online_vcpus 2) (image (hvm (kernel ) (videoram 4) (hpet 0) (stdvga 0) (loader /usr/lib/xen/boot/hvmloader) (vncunused 1) (xen_platform_pci 1) (boot cd) (rtc_timeoffset 7202) (pci ()) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type default) (pci_msitranslate 1) (apic 1) (monitor 0) (usbdevice tablet) (device_model /usr/lib64/xen/bin/qemu-dm) (pci_power_mgmt 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)) ) ) (status 2) (state -b----) (store_mfn 1044476) (device (vif (bridge xnh5getjoj54ke) (uuid 6133c146-48ea-b7a5-0263-fda98e1a30fe) (script /etc/xen/scripts/vif-bridge) (ip 83.170.81.183) (mac 00:16:3e:a4:02:5a) (vifname t2vd5w22msrv5d) (backend 0) ) ) (device (vbd (protocol x86_64-abi) (uuid dd857cd1-2a4c-ea21-a5a5-e95d811f607a) (bootable 1) (dev hda:disk) (uname phy:/dev/9yblt1m70pdtdp/ddfhogyred6bby) (mode w) (backend 0) (bootable 1) (VDI ) ) ) (device (vbd (protocol x86_64-abi) (uuid 19cae15c-354d-77cb-57ec-dc313f1d05ba) (bootable 0) (dev hdb:disk) (uname phy:/dev/9yblt1m70pdtdp/dhnnwhs6jh9kdd) (mode w) (backend 0) (bootable 0) (VDI ) ) ) (device (vbd (protocol x86_64-abi) (uuid 2b97ec8c-0cc5-7197-f510-63c272449680) (bootable 0) (dev hdc:disk) (uname phy:/dev/9yblt1m70pdtdp/d1jilc7s7jxsaq) (mode w) (backend 0) (bootable 0) (VDI ) ) ) (device (vbd (protocol x86_64-abi) (uuid 1b472270-1ef3-2f49-81f1-031cc00c0eb7) (bootable 0) (dev hdd:cdrom) (uname file:/tools/freebsd/boot-freebsd-generic.iso) (mode r) (backend 0) (bootable 0) (VDI ) ) ) (device (vfb (vncunused 1) (vnc 1) (uuid b3defeea-4acc-1408-9b22-71547a64e705) (location 0.0.0.0:5900) ) ) (device (console (protocol vt100) (location 4) (uuid 58a089ce-a4d0-037e-23e8-9df37b2bd5da) ) ) ) DomU from "inside": # uname -a FreeBSD yurak1.vm 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r+03cdadc: Wed = May 22 17:47:40 EEST 2013 = root@yurak1.vm:/usr/obj/data/freebsd/sys/XENHVM amd64 I'll also set up one (hope will have some time) under Xen 4.2.2 = tomorrow. --- Yura On May 13, 2013, at 21:32 PM, Roger Pau Monn=E9 = wrote: > Hello, >=20 > Recently Justin T Gibbs, Will Andrews and myself have been working on > improving the Xen support in FreeBSD. The main goal of this was to = bring > full PVHVM support to FreeBSD, right now FreeBSD is only using PV > interfaces for disk and network interfaces when running as a HVM = guest. > The main benefits of this changes are that Xen virtual interrupts = (event > channels) are now delivered to the guest using a vector callback > injection, that is a per-cpu mechanism that allows each vCPU to have > different interrupts assigned, so for example network and disk > interrupts are delivered to different vCPUs in order to improve > performance. With this changes FreeBSD also uses PV timers when = running > as an HVM guest, which should provide better time keeping and reduce = the > virtualization overhead, since emulated timers are no longer used. PV > IPIs can also be used inside a HVM guest, but this will be implemented > later. >=20 > Right now the code is in a state where it can be tested by users, so = we > would like to encourage FreeBSD and Xen users to test it and provide > feedback. >=20 > The code is available in the following git repository, under the = branch > pvhvm_v5: >=20 > http://xenbits.xen.org/gitweb/?p=3Dpeople/royger/freebsd.git;a=3Dsummary= >=20 > Also, I've created a wiki page that explains how to set up a FreeBSD > PVHVM for testing: >=20 > http://wiki.xen.org/wiki/Testing_FreeBSD_PVHVM > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"