Re: XenTools development for FreeBSD

2010-01-11 Thread Justin T. Gibbs
On 1/8/2010 1:23 AM, James Smith wrote: ... We want to use XenServer (iscsi SAN storage) by Citrix and FreeBSD. We've got a testing setup in place, so we can play around with the features. FreeBSD runs and installs quite well within this environment, along with Linux distros, Windows etc.

Re: Xen PV drivers for FreeBSD

2010-11-24 Thread Justin T. Gibbs
On 11/24/2010 10:03 AM, Yuriy Kohut wrote: Hi, It is for amd64 only, correct ? I have only tested it on amd64, but I don't know of anything inherent in the PV driver framework that would prevent it from operating on other architectures. Do you know is it stable enough ? It has been quite

Re: Xen PV drivers for FreeBSD

2010-11-26 Thread Justin T. Gibbs
On 11/26/2010 8:56 AM, Yuriy Kohut wrote: Hi, I have just built XENHVM from RELANG_8_1. RELENG_8_1 doesn't have the latest Xen PV code in it. stable/8 (RELENG_8 if checking out of CVS instead of SVN?) does. -- Justin ___ freebsd-xen@freebsd.org

Re: Xen PV drivers for FreeBSD

2010-12-01 Thread Justin T. Gibbs
On 12/1/2010 4:52 AM, Yuriy Kohut wrote: Hi, Now your commit in place and I have built XENHVM on RELENG_8. Some things are changed for me, but the issue still exists. I will try to replicate your issues again later today. One notable difference between my configuration and yours is that

Re: kern/152818: [panic][xen] disk driver data cannot cross a page boundary

2010-12-04 Thread Justin T. Gibbs
The following reply was made to PR kern/152818; it has been noted by GNATS. From: Justin T. Gibbs gi...@scsiguy.com To: Colin Percival cperc...@freebsd.org Cc: bug-follo...@freebsd.org Subject: Re: kern/152818: [panic][xen] disk driver data cannot cross a page boundary Date: Sat, 04 Dec 2010 15

Re: xn0: Error 2 parsing device/vif/0/mac [PATCH]

2011-01-31 Thread Justin T. Gibbs
On 1/15/2011 3:12 AM, Janne Snabb wrote: On Sat, 15 Jan 2011, Janne Snabb wrote: It appears that that the netfront driver fails to get the vif mac address which leads to panic shortly afterwards. The patch at the bottom of this message solves the problem for me. After that the current

Re: [FreeBSD 8.2 amd64 XENHVM] DomU terrible network performance trought NAT

2011-05-12 Thread Justin T. Gibbs
On 5/12/11 11:48 AM, Janne Snabb wrote: On Thu, 12 May 2011, Laurent Cligny wrote: All FreeBSD VM are 8.2 amd64 with XENHVM kernel anf the Linux VM is a Paravirtualized Debian amd64. My suggestion would be to try out the same setup with GENERIC kernel and the rtl driver (or even better e1000

Re: breakage in blkfront with ring_pages 1

2011-06-10 Thread Justin T. Gibbs
On 6/9/11 9:26 PM, Colin Percival wrote: Hi all, I'm seeing breakage with ring_pages 1 on a blkfront; more precisely, request #32 has a garbage response (resulting in a panic) exactly as if the dom0 thinks we're only using a single page for the ring. Forcing ring_pages to 1 makes the

Re: breakage in blkfront with ring_pages 1

2011-07-05 Thread Justin T. Gibbs
On 7/5/11 7:14 PM, Colin Percival wrote: On 06/10/11 13:30, Justin T. Gibbs wrote: On 6/9/11 9:26 PM, Colin Percival wrote: Has anyone seen anything like this? Is it possible that there's a bug in how our blkfront negotiates the request ring? Does anyone have ring_pages 1 in use

Re: breakage in blkfront with ring_pages 1

2011-07-06 Thread Justin T. Gibbs
On 7/5/11 10:14 PM, Colin Percival wrote: On 07/05/11 19:42, Colin Percival wrote: On 07/05/11 19:04, Justin T. Gibbs wrote: On 7/5/11 7:14 PM, Colin Percival wrote: Maybe the right option is to have a loader tunable dev.xn.linuxback to control which version of the protocol is used? What

[CFT/CFR] Improved Xen Suspend/Resume Support

2011-09-01 Thread Justin T. Gibbs
This work was sponsored by BQ Internet Corporation and they have successfully migrated 100+ FreeBSD VMs with these changes (slightly modified for use in 8.x). I'd like to have feedback from other developers and FreeBSD Xen users before submitting this and/or asking for approval to push them into

Re: [CFT/CFR] Improved Xen Suspend/Resume Support

2011-09-01 Thread Justin T. Gibbs
On Sep 1, 2011, at 11:40 AM, Sean Bruno sean...@yahoo-inc.com wrote: On Thu, 2011-09-01 at 09:55 -0700, Justin T. Gibbs wrote: This work was sponsored by BQ Internet Corporation and they have successfully migrated 100+ FreeBSD VMs with these changes (slightly modified for use in 8.x). I'd

Re: [CFT/CFR] Improved Xen Suspend/Resume Support

2011-09-01 Thread Justin T. Gibbs
On Sep 1, 2011, at 12:05 PM, Sean Bruno sean...@yahoo-inc.com wrote: On Thu, 2011-09-01 at 09:55 -0700, Justin T. Gibbs wrote: This work was sponsored by BQ Internet Corporation and they have successfully migrated 100+ FreeBSD VMs with these changes (slightly modified for use in 8.x). I'd

Re: [CFT][PATCH] Netfront fixes for FreeBSD-head [and an OT issue]

2011-09-15 Thread Justin T. Gibbs
On 9/15/11 4:35 AM, Hugo Silva wrote: On 09/15/11 05:43, Janne Snabb wrote: On Mon, 12 Sep 2011, Justin T. Gibbs wrote: I'm planning to ask RE for permission to merge the following netfront fixes (listed below) into 9.0/head. Assuming this is the same patch that I posted on the list after

Re: amd64 xen hvm shutdown

2012-02-02 Thread Justin T. Gibbs
On Feb 2, 2012, at 12:31 PM, Richard Kojedzinszky wrote: Dear users, I am trying to compare the 8.2 i386 PV mode and 9.0 amd64 hvm mode, regarding $ xm shutdown from outside. While 8.2 PV shuts down well, 9.0 hvm does not. Is it an issue of the xen hypervisor, or of freebsd?

Re: Difference in event channel implementation for Xen PV vs HVM guests

2013-03-18 Thread Justin T. Gibbs
On Mar 18, 2013, at 6:35 AM, Roger Pau Monné roger@citrix.com wrote: Hello, While working on improving XENHVM (I've been looking at adding PV timers), I've realized that the event channel implementation in PV vs HVM mode differs greatly. Xen PV port uses sys/xen/evtchn/evtchn.c while

Re: Difference in event channel implementation for Xen PV vs HVM guests

2013-03-21 Thread Justin T. Gibbs
On Mar 21, 2013, at 6:50 AM, Roger Pau Monné roger@citrix.com wrote: On 21/03/13 13:43, Roger Pau Monné wrote: On 18/03/13 14:08, Justin T. Gibbs wrote: Hi Roger, I know of no reasons why XENHVM cannot use the full event channel interface. In fact, Spectra Logic implemented PV timers

[CFR] Event channel Interrupts and unified Xen interrupt infrastructure.

2013-08-29 Thread Justin T. Gibbs
I've been working to get the next chunk of Spectra/Roger Pau Monné Xen work into head. The latest version of the patch I'm working on can be found here: http://people.freebsd.org/~gibbs/xen_intr.diff I will continue my testing today and commit it tonight unless I hear complaints.

Re: [CFR] Event channel Interrupts and unified Xen interrupt infrastructure.

2013-08-29 Thread Justin T. Gibbs
On Aug 29, 2013, at 1:15 PM, Colin Percival cperc...@freebsd.org wrote: On 08/29/13 09:32, Justin T. Gibbs wrote: I've been working to get the next chunk of Spectra/Roger Pau Monné Xen work into head. The latest version of the patch I'm working on can be found here: http

Re: [CFR] Event channel Interrupts and unified Xen interrupt infrastructure.

2013-08-29 Thread Justin T. Gibbs
On Aug 29, 2013, at 1:36 PM, Colin Percival cperc...@freebsd.org wrote: In sys/x86/xen/hvm.c: +/** + * If non-zero, the hypervisor has been configured to use a direct + * IDT event callback to the + */ This comment seems to be missing part of its Fixed. -- Justin

Re: blkback making assumptions about the id of the requests

2013-09-02 Thread Justin T. Gibbs
On Sep 2, 2013, at 11:58 AM, Roger Pau Monné roger@citrix.com wrote: Hello, While playing with driver domains using FreeBSD I've found out that blkback in FreeBSD makes assumptions about the id of a request instead of actually using the id of the request on the shared ring. This seems

[CFR] Xen IPI patch

2013-09-02 Thread Justin T. Gibbs
In my continuing effort to get all of Roger's Xen enhancements into FreeBSD, I'm just about finished reviewing the next patch in his series. The current status of the patch can be found here: http://people.freebsd.org/~gibbs/xen_ipi.diff The main, and late breaking, wrinkle for this

Re: blkback making assumptions about the id of the requests

2013-09-03 Thread Justin T. Gibbs
On Sep 3, 2013, at 3:39 AM, Roger Pau Monné roger@citrix.com wrote: On 02/09/13 22:03, Justin T. Gibbs wrote: On Sep 2, 2013, at 11:58 AM, Roger Pau Monné roger@citrix.com wrote: Hello, While playing with driver domains using FreeBSD I've found out that blkback in FreeBSD makes

Re: Another blkback issue related to flush

2013-09-04 Thread Justin T. Gibbs
On Sep 4, 2013, at 11:07 AM, Roger Pau Monné roger@citrix.com wrote: Hello, I've found another issue with blkback handling of flush operations, it was incorrectly setting one of the bio parameters when using a block device as backend. The attached patch fixes it, and also includes a

Re: FreeBSD Alpha5 amd64 - Citrix Xen 6.2 problem

2013-10-12 Thread Justin T. Gibbs
On Oct 10, 2013, at 3:09 AM, Shanker Balan m...@shankerbalan.net wrote: On 10-Oct-2013, at 1:37 PM, Shanker Balan m...@shankerbalan.net wrote: On 09-Oct-2013, at 8:06 PM, Mark Felder f...@freebsd.org wrote: On Wed, Oct 9, 2013, at 8:53, Roger Pau Monné wrote: On 09/10/13 13:49, Mark

Re: FreeBSD 10.0-R as Xen 'guest' - clarification?

2014-02-11 Thread Justin T. Gibbs
On Jan 29, 2014, at 8:28 AM, Karl Pielorz kpielorz_...@tdx.co.uk wrote: Hi, With FreeBSD 10 being out now (Great!) - GENERIC appears now has everything needed for Xen to run in PVHVM for amd64. The man page for xen (man 4 xen) states you should have: options NO_ADAPTIVE_MUTEXES