Re: emulated PCI device BAR size

2019-03-23 Thread Jason Tubnor
On Sun., 24 Mar. 2019, 6:35 am Chuck Tuffli, wrote: > On Mon, Mar 18, 2019 at 10:15 AM Chuck Tuffli wrote: > > > > > So my question is how to best fix this. The easiest would be to add a > > check to the BAR size calculation in pci_nvme.c along the lines of: > > #define NVME_MMIO_SPACE_MIN

bhyve threading model?

2019-03-23 Thread Chuck Tuffli
In the process of refactoring some of bhyve's NVMe emulation code, I'm noticing there are a handful of mutexes. But this leads me to believe I don't understand how the emulated devices work. Is there a paper / video / code comment / etc. somewhere that explains bhyve's threading model, specifically

Re: Updating uefi-edk2-bhyve

2019-03-23 Thread Rebecca Cran via freebsd-virtualization
On 3/22/19 4:29 PM, Rebecca Cran via freebsd-virtualization wrote: On 3/22/19 2:25 PM, D Scott Phillips wrote: Hmm, I guess it might be some diference in the code generation between gcc 4.8 and gcc 5. I've just tested switching from gcc 4.8 to 8.3.0 and everything seems to work fine - both

Re: emulated PCI device BAR size

2019-03-23 Thread Chuck Tuffli
On Mon, Mar 18, 2019 at 10:15 AM Chuck Tuffli wrote: > > In debugging why Windows doesn't like bhyve's NVMe device emulation, > another developer mentioned that the NVMe specification defines the > minimum size of BAR[0] to be 16K bytes. And while most OS don't > enforce this requirement, evidentl

Re: freebsd guest on azure

2019-03-23 Thread tech-lists
On Sat, Mar 23, 2019 at 09:31:17PM +0800, Frank Leonhardt wrote: As to your question, what I've done is run a ZFS pool and simply send a snapshot. That's a good idea. I presumed I'd be stuck just with UFS. My most favoured way of doing this is having a zfs-vol backed vm on a freebsd host but i

Re: freebsd guest on azure

2019-03-23 Thread Frank Leonhardt
On 23 March 2019 20:54:15 GMT+08:00, tech-lists wrote: >Hi, > >If you're running a freebsd instance on azure, > >1. can you back up the instance > >-without azure's own tools >-or with azures own tools (and I imagine it costs extra) > >2. or if you can't directly back up the instance, apart fro

freebsd guest on azure

2019-03-23 Thread tech-lists
Hi, If you're running a freebsd instance on azure, 1. can you back up the instance -without azure's own tools -or with azures own tools (and I imagine it costs extra) 2. or if you can't directly back up the instance, apart from tarring up the directories you need to keep and downloading them f