Re: Boot FreeBSD 10 in HVM mode under Xen?

2015-08-06 Thread Roger Pau Monné
El 05/08/15 a les 12.25, Karl Pielorz ha escrit:
 
 
 --On 31 July 2015 17:01 +0200 Roger Pau Monné roger@citrix.com wrote:
 
 Yes, this is certainly possible. IIRC I posted a patch to the
 freebsd-xen mailing list in order to do that. I will try to find/refresh
 it and post it again so you can try it. It might have to wait until
 Monday however, since I'm quite busy today.
 
 Hi,
 
 I realise you're busy - but did you get a chance to dig out that patch?
 - We're just installing hotfixes here [which reminded me - as we have an
 number of non-agile HVM machines to move around! :(]

Hello,

Sorry for the delay, as usual I've been busy with a bunch of other
stuff. You can find the patch against HEAD here:

https://people.freebsd.org/~royger/0001-xen-allow-disabling-PV-disks-and-nics.patch

The description is self-explanatory I think. I've not tried to apply it
to stable-10, but I don't think there have been many changes in this
area in general. If you need help backporting it ping me and I will
provide a suitable version.

Roger.

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org

Re: Boot FreeBSD 10 in HVM mode under Xen?

2015-08-06 Thread Karl Pielorz


--On 06 August 2015 13:46 +0200 Roger Pau Monné roger@citrix.com 
wrote:



Hello,

Sorry for the delay, as usual I've been busy with a bunch of other
stuff. You can find the patch against HEAD here:

https://people.freebsd.org/~royger/0001-xen-allow-disabling-PV-disks-and-
nics.patch

The description is self-explanatory I think. I've not tried to apply it
to stable-10, but I don't think there have been many changes in this
area in general. If you need help backporting it ping me and I will
provide a suitable version.


Hi,

Thanks for the patch! - I couldn't apply it automatically (not entirely 
sure what to do with a git diff like that :) - and, the hvm.c part of patch 
wouldn't apply cleanly anyway (too much difference).


*Having said that* - I applied it by hand to my 10.1-R system, and it seems 
to work perfectly. I've put the XENHVM and xenpci back in the kernel, 
re-enabled veridian for that VM, and put 'hw.xen.disable_pv_nics=1' in boot 
loader.


I now have a PV disk, but HVM NIC (re0) based machine - that's agile, and 
works with OpenVPN and inter-VM routing.


I can post the standard 'diff -u' patchset against 10.1 back to the list if 
needed (I know other people had PV NIC issues and were using the same 
non-agile boot as HVM fix for it).


Cheers,

-Karl
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org

Re: Boot FreeBSD 10 in HVM mode under Xen?

2015-08-06 Thread Roger Pau Monné
El 06/08/15 a les 15.06, Karl Pielorz ha escrit:
 
 --On 06 August 2015 13:46 +0200 Roger Pau Monné roger@citrix.com
 wrote:
 
 Hello,

 Sorry for the delay, as usual I've been busy with a bunch of other
 stuff. You can find the patch against HEAD here:

 https://people.freebsd.org/~royger/0001-xen-allow-disabling-PV-disks-and-
 nics.patch

 The description is self-explanatory I think. I've not tried to apply it
 to stable-10, but I don't think there have been many changes in this
 area in general. If you need help backporting it ping me and I will
 provide a suitable version.
 
 Hi,
 
 Thanks for the patch! - I couldn't apply it automatically (not entirely
 sure what to do with a git diff like that :) - and, the hvm.c part of
 patch wouldn't apply cleanly anyway (too much difference).
 
 *Having said that* - I applied it by hand to my 10.1-R system, and it
 seems to work perfectly. I've put the XENHVM and xenpci back in the
 kernel, re-enabled veridian for that VM, and put
 'hw.xen.disable_pv_nics=1' in boot loader.
 
 I now have a PV disk, but HVM NIC (re0) based machine - that's agile,
 and works with OpenVPN and inter-VM routing.
 
 I can post the standard 'diff -u' patchset against 10.1 back to the list
 if needed (I know other people had PV NIC issues and were using the same
 non-agile boot as HVM fix for it).

I'm going to let the patch sit here for a while so people can
test/comment. Since I'm going on vacations next week, if there are no
complains I'm planning to apply it when I'm back on the 17th.

Roger.

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org