Re: FreeBSD PVH guest support

2013-12-02 Thread Roger Pau Monné
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/12/13 18:19, Konstantin Belousov wrote:
> On Mon, Dec 02, 2013 at 05:11:49PM +0100, Roger Pau Monn? wrote:
>> Hello,
>> 
>> I've yet updated the PVH work one more time, regarding some
>> comments from emaste in order to try to make this work easier to
>> merge with the UEFI changes. In this regard, the parse_memmap
>> hook now fetches and parses the memmap, so UEFI can define it's
>> own hook and do the fetching and parsing there.
>> 
>> As usual, the patch can be found on my git tree:
>> 
>> git://xenbits.xen.org/people/royger/freebsd.git pvh_v6
>> 
>> Or
>> 
>> http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvh_v6
>>
>>
>> 
I would really like to get this committed sooner rather than later,
>> mainly because I plan to start working on Dom0 soon, and having
>> to carry another patch on top of this is going to be quite hard.
> 
> The patch is large, and I definitely do not have desire to look at
> the Xen-specific parts.  Is it possible to split the patch into
> changes for common code, and the rest ? If not, could you provide
> only the chunks related to the common code anyway, so that I read
> what needed to read, and do not miss some part ?

You can certainly use
http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=commit;h=e6b5f404ea805de4070a9ad501be8e91a722f05b
in order to see the specific diffs for each modified file, this way
you can only look at changes in common files and skip most of the Xen
specific changes.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)

iQEcBAEBAgAGBQJSnMofAAoJEKXZdqUyumTAzjUH/3fDf9TDgBbKJoOlgPGWhTc3
GDY9Vw2oRzfB7IAyNKGXesE5PPkl4S2A/VVxN/So9Jw1PdGwK/iUGNQIyR5jI5YW
BOclDB42huRoHRPYXH/pDrdHpOKrudJg9GeXldT0Q+EXThDMKgTGuAekqdtSN6dS
F8YtXMokMrIBkklCzTBsJLAhA8nAZ+CozLuIgHUelkY5XX8Zw7RhrAZNZWy6WZP5
nGgVL6eeJ1mQ6l8JLSwEAvo6mx7ka7HVLmx4IQ1Plm6nx17WLIUdJi9NI6tW7s5v
LAD6BH+iPCxDOK6qDCVmSHAZ6RJmI+ksasqIRx4pAe02l806qAUsoXjyzymgn6Y=
=ovkV
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD PVH guest support

2013-12-02 Thread Konstantin Belousov
On Mon, Dec 02, 2013 at 05:11:49PM +0100, Roger Pau Monn? wrote:
> Hello,
> 
> I've yet updated the PVH work one more time, regarding some comments
> from emaste in order to try to make this work easier to merge with the
> UEFI changes. In this regard, the parse_memmap hook now fetches and
> parses the memmap, so UEFI can define it's own hook and do the fetching
> and parsing there.
> 
> As usual, the patch can be found on my git tree:
> 
> git://xenbits.xen.org/people/royger/freebsd.git pvh_v6
> 
> Or
> 
> http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvh_v6
> 
> I would really like to get this committed sooner rather than later,
> mainly because I plan to start working on Dom0 soon, and having to carry
> another patch on top of this is going to be quite hard.

The patch is large, and I definitely do not have desire to look at the
Xen-specific parts.  Is it possible to split the patch into changes for
common code, and the rest ? If not, could you provide only the chunks
related to the common code anyway, so that I read what needed to read,
and do not miss some part ?


pgpvCrDaTCEqd.pgp
Description: PGP signature


Re: FreeBSD PVH guest support

2013-12-02 Thread Roger Pau Monné
Hello,

I've yet updated the PVH work one more time, regarding some comments
from emaste in order to try to make this work easier to merge with the
UEFI changes. In this regard, the parse_memmap hook now fetches and
parses the memmap, so UEFI can define it's own hook and do the fetching
and parsing there.

As usual, the patch can be found on my git tree:

git://xenbits.xen.org/people/royger/freebsd.git pvh_v6

Or

http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvh_v6

I would really like to get this committed sooner rather than later,
mainly because I plan to start working on Dom0 soon, and having to carry
another patch on top of this is going to be quite hard.

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


Re: FreeBSD PVH guest support

2013-11-22 Thread Roger Pau Monné
Hello,

I've updated the branch one more time in order to cope with the recent
HEAD changes regarding SMAP parsing, as usual the branch can be found at:

http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvh_v5

Also, I've created a wiki page that describes how to set up a FreeBSD
PVH guest:

http://wiki.xen.org/wiki/FreeBSD_PVH

In case anyone wants to give it a try :)

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


Re: FreeBSD PVH guest support

2013-11-09 Thread Roger Pau Monné
On 07/11/13 19:10, Roger Pau Monné wrote:
> On 28/10/13 14:35, Roger Pau Monné wrote:
>> Hello,
>>
>> The Xen community is working on a new virtualization mode (or maybe I 
>> should say an extension of HVM) to be able to run PV guests inside HVM 
>> containers without requiring a device-model (Qemu). One of the 
>> advantages of this new virtualization mode is that now it is much more 
>> easier to port guests to run under it (as compared to pure PV guests).
>>
>> Given that FreeBSD already supports PVHVM, adding PVH support is quite 
>> easy, we only need some glue for the PV entry point and then support 
>> for diverging some early init functions (like fetching the e820 map or 
>> starting the APs).
>>
>> The attached patch contains all this changes, and allows a SMP FreeBSD 
>> guest to fully boot (and AFAIK work) under this new PVH mode. The patch 
>> can also be found on my git repo:
>>
>> git://xenbits.xen.org/people/royger/freebsd.git pvh_v2
>>
>> The patch touches quite a lot of the early init, so I've Cced the 
>> persons that maintain those areas, so they can review it.
>>
>> In order to test it, and since the PVH changes are not yet merged into 
>> upstream Xen, the use of a patched Xen is necessary. I've collected the 
>> patches for PVH guest support from George Dunlap (v13) and fixed some 
>> bugs on top of them, the tree can be found at:
>>
>> git://xenbits.xen.org/people/royger/xen.git fix_pvh
> 
> I've updated the patch (as suggested by John Baldwin) and added a Xen
> Nexus, that attaches all the Xen top-level devices, this gets rid of the
> legacy bus.
> 
> The new patch can be found at:
> 
> git://xenbits.xen.org/people/royger/freebsd.git pvh_v2

The correct branch is pvh_v3, not pvh_v2:

http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvh_v3

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