From dfr at rabson.org Mon Dec 1 09:10:33 2008 From: dfr at rabson.org (Doug Rabson) Date: Mon Dec 1 09:11:25 2008 Subject: Xen stuff Message-ID: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> I will be working on improving Xen support in FreeBSD for the new few months. My main goal is to add support for native Xen drivers to an amd64 kernel which is running in Xen's HVM mode. These drivers will take over from the slow emulated devices and provide most of the performance benefits of a paravirtualised kernel. I'm initially going to be supporting FreeBSD 6.x but I will port it all forward to head and 7.x when it works properly. If anyone is interested in following this work, please feel free to contact me by email or just check out my working tree at http://svn.freebsd.org/user/dfr/xenhvm/6 . From dfr at rabson.org Mon Dec 1 09:26:19 2008 From: dfr at rabson.org (Doug Rabson) Date: Mon Dec 1 09:26:25 2008 Subject: Xen stuff In-Reply-To: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> References: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> Message-ID: <987E8B20-58D4-41BF-B499-A0D6E5DA1CC2@rabson.org> On 1 Dec 2008, at 17:10, Doug Rabson wrote: > I will be working on improving Xen support in FreeBSD for the new > few months. My main goal is to add support for native Xen drivers to > an amd64 kernel which is running in Xen's HVM mode. These drivers > will take over from the slow emulated devices and provide most of > the performance benefits of a paravirtualised kernel. I'm initially > going to be supporting FreeBSD 6.x but I will port it all forward to > head and 7.x when it works properly. > > If anyone is interested in following this work, please feel free to > contact me by email or just check out my working tree at http://svn.freebsd.org/user/dfr/xenhvm/6 > . That URL should be http://svn.freebsd.org/base/user/dfr/xenhvm/6 of course. From ivoras at gmail.com Mon Dec 1 11:11:58 2008 From: ivoras at gmail.com (Ivan Voras) Date: Mon Dec 1 11:12:05 2008 Subject: Xen stuff In-Reply-To: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> References: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> Message-ID: <9bbcef730812011045t4769cb76g2028c5f9c39af524@mail.gmail.com> 2008/12/1 Doug Rabson : > I will be working on improving Xen support in FreeBSD for the new few Great! > months. My main goal is to add support for native Xen drivers to an amd64 > kernel which is running in Xen's HVM mode. These drivers will take over from > the slow emulated devices and provide most of the performance benefits of a > paravirtualised kernel. I'm initially going to be supporting FreeBSD 6.x but > I will port it all forward to head and 7.x when it works properly. For the not-quite-yet-initiated : does this mean you're working on paravirtualized drivers for Xen dom-U ("guest" case)? From dfr at rabson.org Mon Dec 1 13:54:06 2008 From: dfr at rabson.org (Doug Rabson) Date: Mon Dec 1 13:54:13 2008 Subject: Xen stuff In-Reply-To: <9bbcef730812011045t4769cb76g2028c5f9c39af524@mail.gmail.com> References: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> <9bbcef730812011045t4769cb76g2028c5f9c39af524@mail.gmail.com> Message-ID: <96346214-38CC-4EA9-97DA-C5C1EE358EDA@rabson.org> On 1 Dec 2008, at 18:45, Ivan Voras wrote: > 2008/12/1 Doug Rabson : >> I will be working on improving Xen support in FreeBSD for the new few > > Great! > >> months. My main goal is to add support for native Xen drivers to an >> amd64 >> kernel which is running in Xen's HVM mode. These drivers will take >> over from >> the slow emulated devices and provide most of the performance >> benefits of a >> paravirtualised kernel. I'm initially going to be supporting >> FreeBSD 6.x but >> I will port it all forward to head and 7.x when it works properly. > > For the not-quite-yet-initiated : does this mean you're working on > paravirtualized drivers for Xen dom-U ("guest" case)? Sort of. The latest versions of Xen support something called HVM mode which allows it to boot a completely unmodified guest OS using emulated devices in a similar way to e.g. VMware Fusion. It is then possible to incrementally add Xen-aware paravirtualised drivers which can replace the emulated ones and which perform better. This is how they support Windows under Xen. From sfourman at gmail.com Mon Dec 1 14:17:13 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Mon Dec 1 14:17:18 2008 Subject: Xen stuff In-Reply-To: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> References: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> Message-ID: <11167f520812011417r3956b36amca12b5c6c79e1280@mail.gmail.com> > If anyone is interested in following this work, please feel free to contact > me by email or just check out my working tree at > http://svn.freebsd.org/user/dfr/xenhvm/6. do you know if there is anyone working on Dom0 support under FreeBSD? Sam Fourman Jr. Fourman Networks From kmacy at freebsd.org Mon Dec 1 14:20:24 2008 From: kmacy at freebsd.org (Kip Macy) Date: Mon Dec 1 14:20:33 2008 Subject: Xen stuff In-Reply-To: <11167f520812011417r3956b36amca12b5c6c79e1280@mail.gmail.com> References: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> <11167f520812011417r3956b36amca12b5c6c79e1280@mail.gmail.com> Message-ID: <3c1674c90812011420n6b5e9806y2cf7c78715dfcc53@mail.gmail.com> On Mon, Dec 1, 2008 at 2:17 PM, Sam Fourman Jr. wrote: >> If anyone is interested in following this work, please feel free to contact >> me by email or just check out my working tree at >> http://svn.freebsd.org/user/dfr/xenhvm/6. > > do you know if there is anyone working on Dom0 support under FreeBSD? > Not currently. I think that that is necessary to really achieve uptake of Xen in the FreeBSD community. I'm hoping to have some time for it in Q1. -Kip From gaijin.k at gmail.com Wed Dec 3 11:52:07 2008 From: gaijin.k at gmail.com (Alexandre "Sunny" Kovalenko) Date: Wed Dec 3 11:52:13 2008 Subject: Xen stuff In-Reply-To: <96346214-38CC-4EA9-97DA-C5C1EE358EDA@rabson.org> References: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> <9bbcef730812011045t4769cb76g2028c5f9c39af524@mail.gmail.com> <96346214-38CC-4EA9-97DA-C5C1EE358EDA@rabson.org> Message-ID: <1228332468.1157.16.camel@RabbitsDen> On Mon, 2008-12-01 at 21:54 +0000, Doug Rabson wrote: > On 1 Dec 2008, at 18:45, Ivan Voras wrote: > > > 2008/12/1 Doug Rabson : > >> I will be working on improving Xen support in FreeBSD for the new few > > > > Great! > > > >> months. My main goal is to add support for native Xen drivers to an > >> amd64 > >> kernel which is running in Xen's HVM mode. These drivers will take > >> over from > >> the slow emulated devices and provide most of the performance > >> benefits of a > >> paravirtualised kernel. I'm initially going to be supporting > >> FreeBSD 6.x but > >> I will port it all forward to head and 7.x when it works properly. > > > > For the not-quite-yet-initiated : does this mean you're working on > > paravirtualized drivers for Xen dom-U ("guest" case)? > > Sort of. The latest versions of Xen support something called HVM mode > which allows it to boot a completely unmodified guest OS using > emulated devices in a similar way to e.g. VMware Fusion. It is then > possible to incrementally add Xen-aware paravirtualised drivers which > can replace the emulated ones and which perform better. This is how > they support Windows under Xen. Did you get to run FreeBSD in HVM mode? What version of Xen, and who was playing the dom0? The reason for the question is that I have patchy experience with HVM: while I have Windows XP Professional running happily, OpenSolaris 2008.5 would lock up on the regular basis. I am running Xen 3.2.1 with OpenSuse x86_64 11.0 in the dom0. Thank you. > > _______________________________________________ > 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" -- Alexandre "Sunny" Kovalenko (????????? ?????????) From dfr at rabson.org Wed Dec 3 12:39:01 2008 From: dfr at rabson.org (Doug Rabson) Date: Wed Dec 3 12:39:08 2008 Subject: Xen stuff In-Reply-To: <1228332468.1157.16.camel@RabbitsDen> References: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> <9bbcef730812011045t4769cb76g2028c5f9c39af524@mail.gmail.com> <96346214-38CC-4EA9-97DA-C5C1EE358EDA@rabson.org> <1228332468.1157.16.camel@RabbitsDen> Message-ID: <4D700338-26B5-48D0-9637-C1329858ED13@rabson.org> On 3 Dec 2008, at 19:27, Alexandre Sunny Kovalenko wrote: > > On Mon, 2008-12-01 at 21:54 +0000, Doug Rabson wrote: >> On 1 Dec 2008, at 18:45, Ivan Voras wrote: >> >>> 2008/12/1 Doug Rabson : >>>> I will be working on improving Xen support in FreeBSD for the new >>>> few >>> >>> Great! >>> >>>> months. My main goal is to add support for native Xen drivers to an >>>> amd64 >>>> kernel which is running in Xen's HVM mode. These drivers will take >>>> over from >>>> the slow emulated devices and provide most of the performance >>>> benefits of a >>>> paravirtualised kernel. I'm initially going to be supporting >>>> FreeBSD 6.x but >>>> I will port it all forward to head and 7.x when it works properly. >>> >>> For the not-quite-yet-initiated : does this mean you're working on >>> paravirtualized drivers for Xen dom-U ("guest" case)? >> >> Sort of. The latest versions of Xen support something called HVM mode >> which allows it to boot a completely unmodified guest OS using >> emulated devices in a similar way to e.g. VMware Fusion. It is then >> possible to incrementally add Xen-aware paravirtualised drivers which >> can replace the emulated ones and which perform better. This is how >> they support Windows under Xen. > Did you get to run FreeBSD in HVM mode? What version of Xen, and who > was > playing the dom0? > > The reason for the question is that I have patchy experience with HVM: > while I have Windows XP Professional running happily, OpenSolaris > 2008.5 > would lock up on the regular basis. > > I am running Xen 3.2.1 with OpenSuse x86_64 11.0 in the dom0. I'm running XenServer 5.0 which is (I think) running a linux-2.6.18 kernel with roughly xen-3.2.2. From kmacy at freebsd.org Wed Dec 3 12:42:52 2008 From: kmacy at freebsd.org (Kip Macy) Date: Wed Dec 3 12:42:58 2008 Subject: Xen stuff In-Reply-To: <4D700338-26B5-48D0-9637-C1329858ED13@rabson.org> References: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> <9bbcef730812011045t4769cb76g2028c5f9c39af524@mail.gmail.com> <96346214-38CC-4EA9-97DA-C5C1EE358EDA@rabson.org> <1228332468.1157.16.camel@RabbitsDen> <4D700338-26B5-48D0-9637-C1329858ED13@rabson.org> Message-ID: <3c1674c90812031242s759dfadbrf469392e8d8e8980@mail.gmail.com> Real mode emulation wasn't fixed until 3.3 in the mercurial sources. Presumably the Cambridge folks backported the necessary fixes for their supported products. -Kip On Wed, Dec 3, 2008 at 12:38 PM, Doug Rabson wrote: > > On 3 Dec 2008, at 19:27, Alexandre Sunny Kovalenko wrote: > >> >> On Mon, 2008-12-01 at 21:54 +0000, Doug Rabson wrote: >>> >>> On 1 Dec 2008, at 18:45, Ivan Voras wrote: >>> >>>> 2008/12/1 Doug Rabson : >>>>> >>>>> I will be working on improving Xen support in FreeBSD for the new few >>>> >>>> Great! >>>> >>>>> months. My main goal is to add support for native Xen drivers to an >>>>> amd64 >>>>> kernel which is running in Xen's HVM mode. These drivers will take >>>>> over from >>>>> the slow emulated devices and provide most of the performance >>>>> benefits of a >>>>> paravirtualised kernel. I'm initially going to be supporting >>>>> FreeBSD 6.x but >>>>> I will port it all forward to head and 7.x when it works properly. >>>> >>>> For the not-quite-yet-initiated : does this mean you're working on >>>> paravirtualized drivers for Xen dom-U ("guest" case)? >>> >>> Sort of. The latest versions of Xen support something called HVM mode >>> which allows it to boot a completely unmodified guest OS using >>> emulated devices in a similar way to e.g. VMware Fusion. It is then >>> possible to incrementally add Xen-aware paravirtualised drivers which >>> can replace the emulated ones and which perform better. This is how >>> they support Windows under Xen. >> >> Did you get to run FreeBSD in HVM mode? What version of Xen, and who was >> playing the dom0? >> >> The reason for the question is that I have patchy experience with HVM: >> while I have Windows XP Professional running happily, OpenSolaris 2008.5 >> would lock up on the regular basis. >> >> I am running Xen 3.2.1 with OpenSuse x86_64 11.0 in the dom0. > > I'm running XenServer 5.0 which is (I think) running a linux-2.6.18 kernel > with roughly xen-3.2.2. > > _______________________________________________ > 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" > -- If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis From robert at ml.erje.net Sun Dec 7 02:39:07 2008 From: robert at ml.erje.net (Robert Joosten) Date: Sun Dec 7 02:39:14 2008 Subject: freebsd 8 domU = self hosting Message-ID: <20081207102346.GD848@iphouse.com> Hi, On http://wiki.freebsd.org/FreeBSD/Xen I read: "domU is self-hosting on 8-CURRENT (can compile world + kernel in a VM)". Sounds great. I'm currently checking out releng_7_xen in order to build a kernel. Am I correct in understanding with freebsd 8, there's no need to pull a xen-specific flavour from svn ? It's just in 8 already ?? Just wondering. Cheers, Robert From gaijin.k at gmail.com Wed Dec 10 08:05:33 2008 From: gaijin.k at gmail.com (Alexandre "Sunny" Kovalenko) Date: Wed Dec 10 08:05:39 2008 Subject: Xen stuff In-Reply-To: <4D700338-26B5-48D0-9637-C1329858ED13@rabson.org> References: <4389C4C1-0EEB-4841-8F02-DC44BBC223F4@rabson.org> <9bbcef730812011045t4769cb76g2028c5f9c39af524@mail.gmail.com> <96346214-38CC-4EA9-97DA-C5C1EE358EDA@rabson.org> <1228332468.1157.16.camel@RabbitsDen> <4D700338-26B5-48D0-9637-C1329858ED13@rabson.org> Message-ID: <1228925119.1176.11.camel@RabbitsDen> On Wed, 2008-12-03 at 20:38 +0000, Doug Rabson wrote: > On 3 Dec 2008, at 19:27, Alexandre Sunny Kovalenko wrote: > > > > > On Mon, 2008-12-01 at 21:54 +0000, Doug Rabson wrote: > >> On 1 Dec 2008, at 18:45, Ivan Voras wrote: > >> > >>> 2008/12/1 Doug Rabson : > >>>> I will be working on improving Xen support in FreeBSD for the new > >>>> few > >>> > >>> Great! > >>> > >>>> months. My main goal is to add support for native Xen drivers to an > >>>> amd64 > >>>> kernel which is running in Xen's HVM mode. These drivers will take > >>>> over from > >>>> the slow emulated devices and provide most of the performance > >>>> benefits of a > >>>> paravirtualised kernel. I'm initially going to be supporting > >>>> FreeBSD 6.x but > >>>> I will port it all forward to head and 7.x when it works properly. > >>> > >>> For the not-quite-yet-initiated : does this mean you're working on > >>> paravirtualized drivers for Xen dom-U ("guest" case)? > >> > >> Sort of. The latest versions of Xen support something called HVM mode > >> which allows it to boot a completely unmodified guest OS using > >> emulated devices in a similar way to e.g. VMware Fusion. It is then > >> possible to incrementally add Xen-aware paravirtualised drivers which > >> can replace the emulated ones and which perform better. This is how > >> they support Windows under Xen. > > Did you get to run FreeBSD in HVM mode? What version of Xen, and who > > was > > playing the dom0? > > > > The reason for the question is that I have patchy experience with HVM: > > while I have Windows XP Professional running happily, OpenSolaris > > 2008.5 > > would lock up on the regular basis. > > > > I am running Xen 3.2.1 with OpenSuse x86_64 11.0 in the dom0. > > I'm running XenServer 5.0 which is (I think) running a linux-2.6.18 > kernel with roughly xen-3.2.2. > Just for the mail archives -- I have installed vanilla 6.4-RELEASE (amd64) as HVM ("Fully virtualized" in SuSE-speak) guest under OpenSuse 11.0 x86_64/Xen 3.2.1. I have not done much beyond building world with both UP and SMP kernels. I have seen some 'calcru: negative runtime ...' and 'calcru: runtime went backwards ...', but otherwise no ill effects whatsoever. Machine is Dell OptiFlex 740 with Athlon 64 X2 4200+. -- Alexandre "Sunny" Kovalenko (????????? ?????????) From dfr at rabson.org Thu Dec 11 06:41:08 2008 From: dfr at rabson.org (Doug Rabson) Date: Thu Dec 11 06:41:14 2008 Subject: freebsd 8 domU = self hosting In-Reply-To: <20081207102346.GD848@iphouse.com> References: <20081207102346.GD848@iphouse.com> Message-ID: <46C42633-9649-4351-8024-4F697440B0DA@rabson.org> On 7 Dec 2008, at 10:23, Robert Joosten wrote: > Hi, > > On http://wiki.freebsd.org/FreeBSD/Xen I read: "domU is self-hosting > on > 8-CURRENT (can compile world + kernel in a VM)". Sounds great. > > I'm currently checking out releng_7_xen in order to build a kernel. Am > I correct in understanding with freebsd 8, there's no need to pull a > xen-specific flavour from svn ? It's just in 8 already ?? Just > wondering. Xen domU support is in the main FreeBSD-8-current source tree. Just build an i386 kernel using the supplied XEN kernel configuration. From mister.olli at googlemail.com Fri Dec 26 17:23:36 2008 From: mister.olli at googlemail.com (Mister Olli) Date: Fri Dec 26 17:23:42 2008 Subject: FreeBSD as PV domU Message-ID: <1230339051.4971.9.camel@phoenix.blechhirn.net> hi all... I couldn't find any informations if freebsd is supported as a para-virtualized domU? if so, which freebsd versions are?? I currently have a dual-box with 2x athlon processors, and I wanna make freebsd my default domU for all services. I've fiddeld around with the latest SVN "RELENG_7" snapshot and got myself a booting kernel (somehow ;-)) I also used the mdroot file system from (fsmware.com) and was able to boot into it. currently I'm trying to rebuild world + kernel within that domU but it fails. some hints on what is supported, or how this can be done (maybe someone has an unpublished howto he/ she wants to share ;-)) would be really nice.... greetz mr. olli