On Mon, Mar 27, 2017 at 10:46:00AM +0200, Reyk Floeter wrote:
> btw. Is there any reason or benefit to use Gen 2?  AFAIK, it is only
> for Windows for secure boot etc.  I think Gen 1 is fine for OpenBSD,
> you even have the hvn(4) and the hyperv(4) drivers now.  Even the
> latest machines in Azure are Gen 1-based.
> 
> On Mon, Mar 27, 2017 at 10:07:03AM +0200, Markus Rosjat wrote:
> like the topic says I look for some feedback here. I try to set up a Gen 2
> 

And you shouldn't get confused by the naming: "Gen 1" and "Gen 2"
implies that one is better than the other.  This doesn't seem to be
the case - they are just different in regards to legacy devices.

Gen 2 is a bit like HVPVM in in Xen (or was it PVHVM?).

Gen 2 requires UEFI and PV drivers, while Gen 1 does not require them.
And we still miss a PV storage driver (aka. "hvs(4)") for Hyper-V, it
wouldn't support the disk.  OpenBSD requires Gen 1 and the pciide(4)
emulation on Hyper-V.

Reyk

> 
> On Mon, Mar 27, 2017 at 10:07:03AM +0200, Markus Rosjat wrote:
> > Hi there,
> > 
> > like the topic says I look for some feedback here. I try to set up a Gen 2
> > Hyper-V VM (Gen 1 is really not a problem) so I need to boot with a UEFI
> > Medium. Since the normal iso doesnt provide that I took the following
> > approch:
> > 
> >  1. I created a USB stick from installXX.fs
> >  2. verified that I could boot from the stick
> >  3. created a VHDX from the stick
> >  4. Attached it to a Gen 2 VM
> >  5. booted the VM and here Im stuck for now
> >     It starts to bood but instead of showing me all the nice dmesg
> >     stuff I would expect  it just went black.
> > 
> > but the rest of the way would look like this
> > 
> >  6. Install OpenBSD on another VHDX
> >  7. dettach the first VHDX
> > 
> > So the question really is, do I miss a step or is it just not possible at
> > the moment to get it working with Gen 2 VMs? The secure boot feature of the
> > VM is disabled.
> > 
> > Regards
> > 
> > -- 
> > Markus Rosjat    fon: +49 351 8107223    mail: ros...@ghweb.de
> > 
> > G+H Webservice GbR Gorzolla, Herrmann
> > K??nigsbr??cker Str. 70, 01099 Dresden
> > 
> > http://www.ghweb.de
> > fon: +49 351 8107220   fax: +49 351 8107227
> > 
> > Bitte pr??fen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
> > you print it, think about your responsibility and commitment to the
> > ENVIRONMENT
> > 
> 
> -- 

-- 

Reply via email to