Page MenuHomeFreeBSD

corvink (Corvin Köhne)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 27 2020, 6:07 AM (204 w, 2 d)

Recent Activity

Mon, Jul 1

corvink closed D45768: sysutils/edk2: make bhyve's bootorder feature work.
Mon, Jul 1, 1:03 PM
corvink committed R11:54eaea1ccd17: sysutils/edk2: make bhyve's bootorder feature work (authored by corvink).
sysutils/edk2: make bhyve's bootorder feature work
Mon, Jul 1, 1:03 PM
corvink updated the diff for D45768: sysutils/edk2: make bhyve's bootorder feature work.

bump PORTREVISION

Mon, Jul 1, 10:21 AM

Fri, Jun 28

corvink updated the summary of D45768: sysutils/edk2: make bhyve's bootorder feature work.
Fri, Jun 28, 9:21 AM
corvink requested review of D45768: sysutils/edk2: make bhyve's bootorder feature work.
Fri, Jun 28, 9:20 AM

Jun 14 2024

corvink added a comment to D45049: bhyve: Let the guest enable PCI BARs on arm64.

Thank you! I think this means though that @jhb 's suggestion isn't viable, as we generally expect newer bhyve to work properly with older EDK2. In other words, we need some config flag which lets a particular platform say, "I want to enable BARs before executing any guest code". Or is there something more clever we can do?

Jun 14 2024, 6:26 AM

Jun 13 2024

corvink added a comment to D45049: bhyve: Let the guest enable PCI BARs on arm64.
In D45049#1027224, @jhb wrote:

So for "bare metal" cases like booting with a bootrom (e.g. UEFI) we should arguably leave bars unregistered since the raw firmware probably does that. Only the bhyveload case probably wants to enable BARs on startup. I would be fine with not using a user-facing config option but basically making the test in this patch be some kind of "is there a bootrom or not" check. Would need to test it on amd64 with UEFI.

I implemented this and EDK2 fails to load our loader. I get the following output before dropped into a shell:

Launching virtual machine "test" ...                                                                                                                          
fbuf frame buffer base: 0x32b086e00000 [sz 33554432]                                                                                                          
BdsDxe: loading Boot0001 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)                      
BdsDxe: starting Boot0001 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)                     
UEFI Interactive Shell v2.2                                                                                                                                   
EDK II                                                                                                                                                        
UEFI v2.70 (BHYVE, 0x00010000)                                                                                                                                
map: No mapping found.

Presumably EDK2 does rely on us having registered BARs. After staring at the EDK2 bhyve platform code for a while, I'm not sure how this is encoded.

Jun 13 2024, 6:51 AM

Jun 11 2024

corvink accepted D45550: bhyve: Fix the build with gcc.
Jun 11 2024, 6:09 AM

Jun 4 2024

corvink added inline comments to D45333: x86/pci: add sysctl for intel_graphics_gen.
Jun 4 2024, 8:37 AM
corvink added inline comments to D45337: bhyve: support VBTs which lay outside of the OpRegion.
Jun 4 2024, 8:37 AM
corvink added inline comments to D45340: bhyve: trap protected BAR regions of passthru devices.
Jun 4 2024, 8:36 AM
corvink added inline comments to D45339: bhyve: add BAR handler list for passthru devices.
Jun 4 2024, 8:36 AM
corvink updated the diff for D45340: bhyve: trap protected BAR regions of passthru devices.
  • fix style issues
Jun 4 2024, 8:34 AM
corvink updated the diff for D45339: bhyve: add BAR handler list for passthru devices.
  • fix style issues
Jun 4 2024, 8:33 AM
corvink updated the diff for D45337: bhyve: support VBTs which lay outside of the OpRegion.
  • fix style issues
  • unmap vbt->hva in error path
Jun 4 2024, 8:33 AM
corvink updated the diff for D45336: bhyve: merge adjacent E820 entries.
  • merge entries with predecessor and successor if possible
Jun 4 2024, 8:33 AM
corvink requested review of D45480: bhyve: remove empty E820 entries.
Jun 4 2024, 8:32 AM
corvink updated the diff for D45333: x86/pci: add sysctl for intel_graphics_gen.
  • use unsigned int
  • add comment
Jun 4 2024, 8:32 AM
corvink committed rGe425e601b978: bhyve: verify OpRegion size (authored by corvink).
bhyve: verify OpRegion size
Jun 4 2024, 7:11 AM
corvink closed D45335: bhyve: verify OpRegion size.
Jun 4 2024, 7:11 AM
corvink committed rG5e09c5a1ed66: bhyve: use correct size to map the OpRegion (authored by corvink).
bhyve: use correct size to map the OpRegion
Jun 4 2024, 7:11 AM
corvink closed D45334: bhyve: use correct size to map the OpRegion.
Jun 4 2024, 7:11 AM

Jun 3 2024

corvink accepted D45401: bhyve: avoid a potential deadlock.
Jun 3 2024, 5:57 AM

May 24 2024

corvink requested review of D45342: bhyve: protect MMIO mapped BDSM register.
May 24 2024, 11:35 AM
corvink requested review of D45341: bhyve: add interface to protect BAR regions of passthru devices.
May 24 2024, 11:34 AM
corvink requested review of D45340: bhyve: trap protected BAR regions of passthru devices.
May 24 2024, 11:34 AM
corvink requested review of D45339: bhyve: add BAR handler list for passthru devices.
May 24 2024, 11:34 AM
corvink requested review of D45338: bhyve: add GVT-d support for graphics gen 11 and newer.
May 24 2024, 11:34 AM
corvink requested review of D45337: bhyve: support VBTs which lay outside of the OpRegion.
May 24 2024, 11:34 AM
corvink requested review of D45336: bhyve: merge adjacent E820 entries.
May 24 2024, 11:33 AM
corvink requested review of D45335: bhyve: verify OpRegion size.
May 24 2024, 11:33 AM
corvink requested review of D45334: bhyve: use correct size to map the OpRegion.
May 24 2024, 11:33 AM
corvink requested review of D45333: x86/pci: add sysctl for intel_graphics_gen.
May 24 2024, 11:33 AM

May 17 2024

corvink accepted D45223: bhyve: avoid resource leak in error path.
May 17 2024, 6:32 AM

May 13 2024

corvink added inline comments to D45120: Add bhyve uart raw tcp backend.
May 13 2024, 7:06 AM

May 2 2024

corvink added a comment to D45049: bhyve: Let the guest enable PCI BARs on arm64.

IIRC, the default value of the busmasteren, porten and memen bits is 0 according to PCI specification. So, as jhb already mentioned, it should be valid to unset these values when booting with a bootrom.

May 2 2024, 6:26 AM
corvink accepted D44995: vmm: Start reconciling amd64 and arm64 copies of vmm_dev.c.
May 2 2024, 6:09 AM

Apr 30 2024

corvink added inline comments to D44933: vmrun.sh: Add arm64 support.
Apr 30 2024, 6:47 AM
corvink added a comment to D44932: bhyvectl: Add an arm64 port.

First of all, looks good. Splitting the commit is just a suggestion!

Apr 30 2024, 6:43 AM
corvink added inline comments to D44995: vmm: Start reconciling amd64 and arm64 copies of vmm_dev.c.
Apr 30 2024, 6:31 AM

Apr 29 2024

corvink accepted D44934: arm64/vmm: Handle VM_EXITCODE_SUSPENDED.
Apr 29 2024, 6:25 AM
corvink accepted D44974: bhyve: Fix handling of -r.
Apr 29 2024, 6:24 AM

Apr 26 2024

corvink accepted D44947: Move lock of uart frontend to uart backend in bhyve.
Apr 26 2024, 7:20 AM
corvink added inline comments to D44934: arm64/vmm: Handle VM_EXITCODE_SUSPENDED.
Apr 26 2024, 7:11 AM
corvink accepted D44933: vmrun.sh: Add arm64 support.
Apr 26 2024, 7:06 AM
corvink added a comment to D44932: bhyvectl: Add an arm64 port.

Can this patch be split into multiple smaller ones to make it easier for review?

Apr 26 2024, 7:01 AM
corvink added inline comments to D44947: Move lock of uart frontend to uart backend in bhyve.
Apr 26 2024, 6:59 AM

Apr 11 2024

corvink accepted D44741: bhyve: Add a stub VM_EXITCODE_REG_EMUL handler.
Apr 11 2024, 6:06 AM
corvink accepted D44738: bhyve.8: Document arm64 support.
Apr 11 2024, 5:57 AM
corvink accepted D44737: bhyve.8: Remove mention of the -A flag.
Apr 11 2024, 5:54 AM

Feb 16 2024

corvink added a comment to D43514: Add Bhyve TCP raw socket on console.

You have to add an entry to the manpage before we can commit it.

Feb 16 2024, 6:57 AM

Feb 6 2024

corvink accepted D43514: Add Bhyve TCP raw socket on console.
Feb 6 2024, 7:52 AM
corvink added inline comments to D43514: Add Bhyve TCP raw socket on console.
Feb 6 2024, 7:52 AM

Feb 2 2024

corvink added inline comments to D43514: Add Bhyve TCP raw socket on console.
Feb 2 2024, 10:19 AM
corvink added inline comments to D43514: Add Bhyve TCP raw socket on console.
Feb 2 2024, 8:28 AM

Jan 31 2024

corvink accepted D43664: bhyve: Add support for the 'p' query.
Jan 31 2024, 6:45 AM

Jan 26 2024

corvink accepted D43600: bhyve: Use NVMEV to read the ASQS field of AQA.
Jan 26 2024, 7:48 AM
corvink accepted D43607: bhyve: Use NVMEF macro to construct fields.
Jan 26 2024, 7:48 AM
corvink accepted D43603: bhyve: Use the NVMEM macro instead of expanded versions.
Jan 26 2024, 7:44 AM
corvink accepted D43598: bhyve: Use the NVMEV macro instead of expanded versions.
Jan 26 2024, 7:43 AM

Jan 24 2024

corvink added a reviewer for D43514: Add Bhyve TCP raw socket on console: corvink.
Jan 24 2024, 8:17 AM
corvink added inline comments to D43514: Add Bhyve TCP raw socket on console.
Jan 24 2024, 8:16 AM

Jan 23 2024

corvink accepted D43483: bhyve: Prepare to add arm64 support to the gdb stub.
Jan 23 2024, 8:05 AM

Jan 22 2024

corvink added a comment to D43541: gen_pci_vendors: Add new script.

Not sure if it's worth parsing the header file and the pci.ids file. If you want to update the header file, you can simply parse the pci.ids file and diff the output or you simply overwrite the header file and use git clean up the diff.

Jan 22 2024, 2:55 PM
corvink added a comment to D43514: Add Bhyve TCP raw socket on console.

You should add a manpage entry.

Jan 22 2024, 7:58 AM

Jan 18 2024

corvink accepted D43483: bhyve: Prepare to add arm64 support to the gdb stub.
Jan 18 2024, 8:23 AM
corvink accepted D43481: bhyve: Simplify register definitions a bit.
Jan 18 2024, 8:16 AM
corvink accepted D43480: bhyve: Avoid underflows when handling remote commands.
Jan 18 2024, 8:13 AM

Jan 17 2024

corvink accepted D43472: bhyve: correct slirp_recv_disable().
Jan 17 2024, 7:20 AM

Jan 8 2024

corvink added a comment to D42406: bhyve: fix invalid argument in a GDB stub debug printf statement.

Already fixed by 4e288572b8581

Jan 8 2024, 10:53 AM

Dec 19 2023

corvink accepted D42692: bhyve: use fbuf defaults when config parsing fails.
Dec 19 2023, 7:34 AM

Dec 14 2023

corvink added a comment to D25672: bhyve, DMAR: integrate.

Is this still WIP? And could it be related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270966 and https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266325?

Dec 14 2023, 6:55 AM

Dec 12 2023

corvink added inline comments to D41006: bhyve: Add bhyverun and vmexit handlers for arm64.
Dec 12 2023, 7:04 AM
corvink accepted D40996: bhyve: Add FDT building code for arm64.
Dec 12 2023, 6:59 AM

Dec 7 2023

corvink abandoned D42921: random: add boot id sysctl.
In D42921#978988, @jhb wrote:

I just don't understand why it's under kern.random and in the random driver? It would make sense to me for this to just be under kern and probably live in sys/kern/kern_mib.c instead with a SYSINIT to initialize it?

Dec 7 2023, 7:36 AM

Dec 6 2023

corvink updated the diff for D42921: random: add boot id sysctl.
  • firstboot handling in linprocfs is not required anymore
Dec 6 2023, 8:02 AM
corvink added reviewers for D42921: random: add boot id sysctl: jhb, imp, cperciva, cem, dchagin, manu.

I'm not sure who's the right person to review this. I've found you in the git log of dev/random and linprocfs.

Dec 6 2023, 7:58 AM
corvink requested review of D42921: random: add boot id sysctl.
Dec 6 2023, 7:52 AM

Nov 24 2023

corvink committed R11:9b7e23c09b6b: sysutils/edk2: set IO port range properly for bhyve (authored by corvink).
sysutils/edk2: set IO port range properly for bhyve
Nov 24 2023, 9:39 AM
corvink closed D42627: sysutils/edk2: set IO port range properly for bhyve.
Nov 24 2023, 9:38 AM
corvink committed R11:231c5bc3a4c9: sysutils/edk2: set IO port range properly for bhyve (authored by corvink).
sysutils/edk2: set IO port range properly for bhyve
Nov 24 2023, 9:38 AM

Nov 21 2023

corvink accepted D42692: bhyve: use fbuf defaults when config parsing fails.
Nov 21 2023, 7:37 AM
corvink added inline comments to D42510: bhyve: Add a slirp network backend.
Nov 21 2023, 7:32 AM
corvink accepted D42689: bhyve: Split backends into separate files.
Nov 21 2023, 7:28 AM

Nov 17 2023

corvink added a comment to D42627: sysutils/edk2: set IO port range properly for bhyve.

FYI: I've send this patch to EDKII https://edk2.groups.io/g/devel/topic/patch_v1_1_1_ovmfpkg_bhyve/102646333

Nov 17 2023, 12:46 PM
corvink updated the diff for D42627: sysutils/edk2: set IO port range properly for bhyve.
  • fix newline style
Nov 17 2023, 12:33 PM

Nov 16 2023

corvink added a comment to D42627: sysutils/edk2: set IO port range properly for bhyve.
In D42627#972664, @manu wrote:

I'm ok with this as long as this will be upstreamed and that the patch will be dropped in a future update.

Nov 16 2023, 9:51 AM
corvink added a comment to D42627: sysutils/edk2: set IO port range properly for bhyve.
In D42627#972662, @manu wrote:
  • set EDKII IO port range to [ 0x2000, 0x10000 ] too

Did you forget a patch ? I don't see any diff between your two diffs

Nov 16 2023, 7:28 AM
corvink added a comment to D42510: bhyve: Add a slirp network backend.

I do agree with jhb. Why do we need to make it optional? If there's no use case, just drop BHYVE_SLIRP. We can add it later if required.

Nov 16 2023, 6:22 AM
corvink accepted D42620: bhyve: increase fbuf display resolution limit.
Nov 16 2023, 6:15 AM
corvink updated the diff for D42627: sysutils/edk2: set IO port range properly for bhyve.
  • set EDKII IO port range to [ 0x2000, 0x10000 ] too
Nov 16 2023, 6:12 AM
corvink requested review of D42627: sysutils/edk2: set IO port range properly for bhyve.
Nov 16 2023, 6:09 AM

Nov 14 2023

corvink accepted D42572: bhyve: Add partial support for multiple config node values.
Nov 14 2023, 7:39 AM

Nov 2 2023

corvink accepted D42434: bhyve(8): fix manpage formatting.
Nov 2 2023, 8:59 AM

Oct 30 2023

corvink accepted D42299: vmm: implement VM_CAP_MASK_HWINTR on AMD CPUs.
Oct 30 2023, 2:59 PM · bhyve
corvink added inline comments to D42296: vmm: implement single-stepping for AMD CPUs.
Oct 30 2023, 2:58 PM · bhyve
corvink added a comment to D42295: vmm: enable software breakpoints for AMD CPUs.

Maybe add some more information to the commit message. Something like "This commit adds a new capability to enable software breakpoints. When enabled, vmexits are passed to userspace where they should be handled. ..."

Oct 30 2023, 2:31 PM · bhyve
corvink added inline comments to D42298: bhyve: refactor gdbstub to enable single-stepping on AMD CPUs.
Oct 30 2023, 2:26 PM · bhyve
corvink accepted D41742: arm64: Connect bhyve and libvmmapi to the build.
Oct 30 2023, 2:12 PM
corvink accepted D42384: bhyve: ps2 implement command 0xf6.
Oct 30 2023, 7:50 AM