Re: Windows support in bhyve

2015-12-14 Thread Sergey Manucharian
Excerpts from Peter Grehan's message from Sun 04-Oct-15 13:11: > As of r288524, bhyve has preliminary support to run Windows in headless > mode using UEFI firmware. > > Since it's headless, the install process consists of modifying the > Windows install ISO to include an 'unattend' XML script th

Re: Windows support in bhyve

2015-12-14 Thread Sergey Manucharian
Excerpts from Allan Jude's message from Mon 14-Dec-15 14:26: > On 2015-12-14 11:43, Sergey Manucharian wrote: > > > > But rdesktop cannot connect: > > > > $ ping 192.168.4.5 > > PING 192.168.4.5 (192.168.4.5): 56 data bytes > > 64 bytes from 1

Re: Windows support in bhyve

2015-12-14 Thread Sergey Manucharian
Excerpts from Trent Thompson's message from Mon 14-Dec-15 13:26: > Can you confirm Remote Desktop Services is running? > You can try something like `net start | more` to see services that are > running via CMD. It does: C:\Windows\system32>net start | more These Windows services are started: .

Re: Windows support in bhyve

2015-12-15 Thread Sergey Manucharian
Excerpts from Peter Grehan's message from Sun 04-Oct-15 13:11: > As of r288524, bhyve has preliminary support to run Windows in headless > mode using UEFI firmware. > > Since it's headless, the install process consists of modifying the > Windows install ISO to include an 'unattend' XML script th

CDROM options in bhyve

2015-12-15 Thread Sergey Manucharian
Hello, Currently bhyve supports attaching a cd image when started. Is there any way to "change" it when the guest is already running? Is there a way to attach the host's CD/DVD drive? E.g. it would be useful to be able creating symlink to an image file, and then re-point it to another one (curre

Re: CDROM options in bhyve

2015-12-16 Thread Sergey Manucharian
Excerpts from Anish's message from Wed 16-Dec-15 11:08: > >Is there any way to "change" it when the guest is already running? > You can specify at boot time, for example in vmrun.sh > > -s $(($nextslot+1)):0,virtio-blk,${isofile} > > 'isofile' is specified using '-I' argument >

Re: CDROM options in bhyve

2015-12-17 Thread Sergey Manucharian
Hi Peter, Excerpts from Peter Grehan's message from Thu 17-Dec-15 18:23: > It should be a 'D' drive. Appended is a list from a w2k16 VM, with a > FreeBSD ISO on the ahci-cd drive (so it isn't bootable). You can also view > this graphically using Windows Administrative Tools -> System Information

bhyve PCI pass-through to Linux guest

2015-12-19 Thread Sergey Manucharian
Hello, I have a working Linux guest in bhyve (Debian). Trying to pass through a PCI device (USB controller) by adding a couple of options: # bhyve -S ... -s 7,passthru,0/20/0 ... That causes bhyve termination right away with error: Unable to setup memory (17) Exactly the same option with passin

Re: bhyve PCI pass-through to Linux guest

2015-12-19 Thread Sergey Manucharian
Excerpts from Peter Grehan's message from Sun 20-Dec-15 15:02: > > > > # bhyve -S ... -s 7,passthru,0/20/0 ... > > > Make sure you are also passing the '-S' option to grub-bhyve to force > wiring of memory. Sure! I showed it in the command line above. Without that bhyve says: "passthru require

Re: bhyve PCI pass-through to Linux guest

2015-12-19 Thread Sergey Manucharian
Excerpts from Peter Grehan's message from Sun 20-Dec-15 15:18: > >>> # bhyve -S ... -s 7,passthru,0/20/0 ... > >>> > >>Make sure you are also passing the '-S' option to grub-bhyve to force > >> wiring of memory. > > > > Sure! I showed it in the command line above. > > That's the bhyve comman

Re: available hypervisors in FreeBSD

2015-12-20 Thread Sergey Manucharian
Excerpts from Miroslav Lachman's message from Sun 20-Dec-15 09:57: > Peter Ross wrote on 12/20/2015 09:15: > >> As far as my homework digging revealed, FreeBSD supports four > >> hypervisors: > >> > >> * bhyve > >> * KVM > >> * QEMU > >> * VirtualBox > > > > .. and later Xen was mentioned. > >

Re: available hypervisors in FreeBSD

2015-12-20 Thread Sergey Manucharian
Excerpts from Adam Vande More's message from Sun 20-Dec-15 09:36: > On Sun, Dec 20, 2015 at 9:25 AM, Sergey Manucharian wrote: > > > I agree that VirtualBox is really stable, and I'm using it in production > > environments for many years. However, there are a couple o

Re: bhyve PCI pass-through to Linux guest

2015-12-20 Thread Sergey Manucharian
Excerpts from Sergey Manucharian's message from Sat 19-Dec-15 22:36: > Excerpts from Peter Grehan's message from Sun 20-Dec-15 15:18: > > >>> # bhyve -S ... -s 7,passthru,0/20/0 ... > > > > That's the bhyve command line (if that's the one you meant). You also > > have to pass '-S' when invoking

Re: bhyve PCI pass-through to Linux guest

2015-12-21 Thread Sergey Manucharian
Excerpts from Peter Grehan's message from Tue 22-Dec-15 13:09: > Hi Sergey, > > > This is pretty reproducible: > > > > I pass trough a PCI device (USB controller) to a Linux guest. It works > > properly. Then I halt the VM, make sure that bhyve destroyed it and run > > Windows guest with the same

Re: Re: {Spam?} Re: bhyve PCI pass-through to Linux guest

2015-12-21 Thread Sergey Manucharian
Excerpts from Trent Thompson's message from Mon 21-Dec-15 20:48: > I've seen some success passing through devices that have their driver > disabled in the FreeBSD kernel. > See the USB 3.0 pass through that Eresia set up in iohyve. > https://github.com/pr1ntf/iohyve/wiki/USB-3.0-PCI-Controller-Pass

Re: bhyve PCI pass-through to Linux guest

2015-12-22 Thread Sergey Manucharian
Excerpts from Anish's message from Mon 21-Dec-15 21:48: > >ppt0@pci0:0:20:0: class=0x0c0330 card=0x21f317aa chip=0x1e318086 > Passthrough stub driver, part of vmm, controls the USB controller. > > Can you share output of /usr/sbin/devinfo from FreeBSD host, highlighting > the usb mass/flash

Re: bhyve PCI pass-through to Linux guest

2015-12-22 Thread Sergey Manucharian
Excerpts from Peter Grehan's message from Tue 22-Dec-15 13:09: > > I pass trough a PCI device (USB controller) to a Linux guest. It works > > properly. Then I halt the VM, make sure that bhyve destroyed it and run > > Windows guest with the same PCI device passed-through. > > > > Windows device man

floppy image in bhyve

2016-01-20 Thread Sergey Manucharian
Hi folks, It there a way to use a floppy image in bhyve? Could it be used with one of virtio-blk or ahci-hd? I need to present it to MS Windows 7 at boot time. Thanks for advices, Sergey ___ freebsd-virtualization@freebsd.org mailing list https://lists

Re: floppy image in bhyve

2016-01-20 Thread Sergey Manucharian
Thanks, Peter! Excerpts from Peter Grehan's message from Wed 20-Jan-16 10:18: > >I need to present it to MS Windows 7 at boot time. > > If this is for a Windows driver, you could potentially extract the files > from the floppy image and then put it on an ISO (or even put it on the > repacked ins

Re: floppy image in bhyve

2016-01-20 Thread Sergey Manucharian
Excerpts from Marie's message from Thu 21-Jan-16 01:56: > > In this particular case it doesn't work. I have a floppy image with > > BitLocker encryption key. I copied that file to an iso image, but > > Windows doesn't like it. > > As a workaround: How about plugging in a USB floppy drive and do a

bhyve guest from physical disk

2016-01-21 Thread Sergey Manucharian
Is it possible to run a bhyve guest from physical disk? I tried adding this option: -s 3,ahci-hd,/dev/ada2 but it doesn't work. Here is the output I see on the serial console, then it falls into EFI shell. -8<- Buffer: EFI Hard

Re: bhyve guest from physical disk

2016-01-21 Thread Sergey Manucharian
Thanks, Allan! Excerpts from Allan Jude's message from Thu 21-Jan-16 10:22: > On 2016-01-21 10:11, Sergey Manucharian wrote: > > Is it possible to run a bhyve guest from physical disk? > > I tried adding this option: > > > > -s 3,ahci-hd,/dev/ada2 > > &

Re: bhyve with Linux guest, how to safely handle updates?

2016-01-26 Thread Sergey Manucharian
Hi Dean, Excerpts from dweimer's message from Tue 26-Jan-16 08:26: > I installed some updates using Aptitude within the > Debian guest which promptly broke the VM. Additional info is needed to help: - bhyve command line you use to start the VM - what error messages do you see stating that it's br

Re: bhyve with Linux guest, how to safely handle updates?

2016-01-26 Thread Sergey Manucharian
Excerpts from dweimer's message from Tue 26-Jan-16 19:07: > > Is there anything that normally needs to be done after a Linux kernel > update to refresh the grub2-bhyve setup? The kernel update should not have any effect since grub-bhyve uses the virtual disk mapping file, which should point to y