Re: Debugging UEFI code in Bhyve

2019-04-02 Thread Marcelo Araujo
On Wed, Apr 3, 2019, 8:35 AM Rebecca Cran via freebsd-virtualization <
freebsd-virtualization@freebsd.org wrote:

> I was wondering, has anyone done any work on supporting debugging UEFI
> code under Bhyve? If not, I can take a look at adapting DebugPkg
> (https://code.bluestop.org/w/tianocore/debugging-with-gdb/).
>
>
>
> --
> Rebecca Cran
>
>
>
> ___
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscr...@freebsd.org"
>

Hi Rebecca,

That would be super helpful, I did some debugs on edk2 in the past with
virtio-scsi and virtio-nvme, it wasn't user friendly, mostly I needed to
put edk2's printf all over the place and capture it via console to be able
to debug boot issues with those two drivers.

Would be great to have a debug method on edk2 and perhaps a howto with
examples how to debug it.

Best,

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


Debugging UEFI code in Bhyve

2019-04-02 Thread Rebecca Cran via freebsd-virtualization
I was wondering, has anyone done any work on supporting debugging UEFI 
code under Bhyve? If not, I can take a look at adapting DebugPkg 
(https://code.bluestop.org/w/tianocore/debugging-with-gdb/).



--
Rebecca Cran



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


Re: Windows 2019 server

2019-04-02 Thread Jason Tubnor
On Wed, 3 Apr 2019 at 01:56, Nick Wolff  wrote:

>
> specific virt-io drivers for windows I'm not sure if that is fixed now. I
> think nvme paravirtual might also just work with windows but haven't
> confirmed that lately.
>
>
Initial testing with some out of tree patches has fixed issues with NVMe
and Windows, current snaps/stable don't work with Windows and NVMe.

They should be imported shortly.

Cheers


> On Sun, Mar 3, 2019 at 8:19 AM Victor Sudakov  wrote:
>
> > Jason Tubnor wrote:
> > >
> > > > Which kind of storage did you present to the Windows 2019 guest,
> > > > paravirtualized or ahcd-hd ?
> > >
> > > ahci-hd is what you want with bhyve and uefi
> >
> > Still no paravirtualized disks support for Windows guests, even in
> > FreeBSD 12? How sad.
> >
> > --
> > Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> > 2:5005/49@fidonet http://vas.tomsk.ru/
> >
> ___
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscr...@freebsd.org"
>


-- 
"If my calculations are correct, when this baby hits 88MPH, you're gonna to
see some serious shit" - Emmett "Doc" Brown
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Windows 2019 server

2019-04-02 Thread Nick Wolff
Micheal,

Would you mind trying with
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.118-1/


That is the iso I've used in the past with newer drivers failing(I don't
think it caused a panic though when I dealt with it)

Thanks,

Nick Wolff

On Tue, Apr 2, 2019 at 12:24 PM Jason Barbier  wrote:

> happen to catch a stack trace for the crash?
>
> ---
> Jason Barbier | E: ja...@corrupted.io
> GPG: 0x40B8FA1D72EF0D89 (https://keybase.io/kusuriya)
>
> On Tue, Apr 2, 2019, at 9:05 AM, Michael wrote:
> > Hi,
> > I just tried on FreeBSD12 and Windows10, bhyve crashes when loading the
> > virtstor driver.
> >
> >
> > Am 2. April 2019 16:56:13 MESZ schrieb Nick Wolff <
> darkfiber...@gmail.com>:
> > >There is paravirtulized support in FreeBSD 11.2 and 12 but you need to
> > >sideload the virtio drivers into windows. Sadly microsoft doesn't ship
> > >with
> > >them even with how "cloud" focused they are. Ahci-hd will allow you to
> > >get
> > >around this. I know we had some restrictions in the past on needing
> > >specific virt-io drivers for windows I'm not sure if that is fixed now.
> > >I
> > >think nvme paravirtual might also just work with windows but haven't
> > >confirmed that lately.
> > >
> > >On Sun, Mar 3, 2019 at 8:19 AM Victor Sudakov 
> > >wrote:
> > >
> > >> Jason Tubnor wrote:
> > >> >
> > >> > > Which kind of storage did you present to the Windows 2019 guest,
> > >> > > paravirtualized or ahcd-hd ?
> > >> >
> > >> > ahci-hd is what you want with bhyve and uefi
> > >>
> > >> Still no paravirtualized disks support for Windows guests, even in
> > >> FreeBSD 12? How sad.
> > >>
> > >> --
> > >> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> > >> 2:5005/49@fidonet http://vas.tomsk.ru/
> > >>
> > >___
> > >freebsd-virtualization@freebsd.org mailing list
> > >https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> > >To unsubscribe, send any mail to
> > >"freebsd-virtualization-unsubscr...@freebsd.org"
> >
> > Gruß
> > ---
> > Michael
> > ___
> > freebsd-virtualization@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> > To unsubscribe, send any mail to
> > "freebsd-virtualization-unsubscr...@freebsd.org"
> >
> ___
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscr...@freebsd.org"
>
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Windows 2019 server

2019-04-02 Thread Jason Barbier
happen to catch a stack trace for the crash?

---
Jason Barbier | E: ja...@corrupted.io 
GPG: 0x40B8FA1D72EF0D89 (https://keybase.io/kusuriya)

On Tue, Apr 2, 2019, at 9:05 AM, Michael wrote:
> Hi,
> I just tried on FreeBSD12 and Windows10, bhyve crashes when loading the 
> virtstor driver.
> 
> 
> Am 2. April 2019 16:56:13 MESZ schrieb Nick Wolff :
> >There is paravirtulized support in FreeBSD 11.2 and 12 but you need to
> >sideload the virtio drivers into windows. Sadly microsoft doesn't ship
> >with
> >them even with how "cloud" focused they are. Ahci-hd will allow you to
> >get
> >around this. I know we had some restrictions in the past on needing
> >specific virt-io drivers for windows I'm not sure if that is fixed now.
> >I
> >think nvme paravirtual might also just work with windows but haven't
> >confirmed that lately.
> >
> >On Sun, Mar 3, 2019 at 8:19 AM Victor Sudakov 
> >wrote:
> >
> >> Jason Tubnor wrote:
> >> >
> >> > > Which kind of storage did you present to the Windows 2019 guest,
> >> > > paravirtualized or ahcd-hd ?
> >> >
> >> > ahci-hd is what you want with bhyve and uefi
> >>
> >> Still no paravirtualized disks support for Windows guests, even in
> >> FreeBSD 12? How sad.
> >>
> >> --
> >> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> >> 2:5005/49@fidonet http://vas.tomsk.ru/
> >>
> >___
> >freebsd-virtualization@freebsd.org mailing list
> >https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> >To unsubscribe, send any mail to
> >"freebsd-virtualization-unsubscr...@freebsd.org"
> 
> Gruß
> --- 
> Michael
> ___
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to 
> "freebsd-virtualization-unsubscr...@freebsd.org"
>
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Windows 2019 server

2019-04-02 Thread Michael
Hi,
I just tried on FreeBSD12 and Windows10, bhyve crashes when loading the 
virtstor driver.


Am 2. April 2019 16:56:13 MESZ schrieb Nick Wolff :
>There is paravirtulized support in FreeBSD 11.2 and 12 but you need to
>sideload the virtio drivers into windows. Sadly microsoft doesn't ship
>with
>them even with how "cloud" focused they are. Ahci-hd will allow you to
>get
>around this. I know we had some restrictions in the past on needing
>specific virt-io drivers for windows I'm not sure if that is fixed now.
>I
>think nvme paravirtual might also just work with windows but haven't
>confirmed that lately.
>
>On Sun, Mar 3, 2019 at 8:19 AM Victor Sudakov 
>wrote:
>
>> Jason Tubnor wrote:
>> >
>> > > Which kind of storage did you present to the Windows 2019 guest,
>> > > paravirtualized or ahcd-hd ?
>> >
>> > ahci-hd is what you want with bhyve and uefi
>>
>> Still no paravirtualized disks support for Windows guests, even in
>> FreeBSD 12? How sad.
>>
>> --
>> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
>> 2:5005/49@fidonet http://vas.tomsk.ru/
>>
>___
>freebsd-virtualization@freebsd.org mailing list
>https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>To unsubscribe, send any mail to
>"freebsd-virtualization-unsubscr...@freebsd.org"

Gruß
--- 
Michael
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Windows 2019 server

2019-04-02 Thread Nick Wolff
There is paravirtulized support in FreeBSD 11.2 and 12 but you need to
sideload the virtio drivers into windows. Sadly microsoft doesn't ship with
them even with how "cloud" focused they are. Ahci-hd will allow you to get
around this. I know we had some restrictions in the past on needing
specific virt-io drivers for windows I'm not sure if that is fixed now. I
think nvme paravirtual might also just work with windows but haven't
confirmed that lately.

On Sun, Mar 3, 2019 at 8:19 AM Victor Sudakov  wrote:

> Jason Tubnor wrote:
> >
> > > Which kind of storage did you present to the Windows 2019 guest,
> > > paravirtualized or ahcd-hd ?
> >
> > ahci-hd is what you want with bhyve and uefi
>
> Still no paravirtualized disks support for Windows guests, even in
> FreeBSD 12? How sad.
>
> --
> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> 2:5005/49@fidonet http://vas.tomsk.ru/
>
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"