Page MenuHomeFreeBSD

bhyve: pass E820 table to guest
ClosedPublic

Authored by corvink on Apr 13 2023, 7:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 8:23 PM
Unknown Object (File)
Sun, Nov 3, 11:53 PM
Unknown Object (File)
Sep 23 2024, 6:20 AM
Unknown Object (File)
Sep 16 2024, 12:27 PM
Unknown Object (File)
Sep 11 2024, 12:46 PM
Unknown Object (File)
Sep 5 2024, 4:11 PM
Unknown Object (File)
Sep 5 2024, 4:04 AM
Unknown Object (File)
Aug 20 2024, 10:18 PM
Subscribers

Details

Summary

E820 table will be used to report valid RAM ranges and reserve special
memory areas like graphics memory for GPU passthrough.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/bhyve/bhyverun.c
1592
1596

Don't you need to free e820_fwcfg_item->data as well?

usr.sbin/bhyve/bhyverun.c
1596

It's picked up by qemu_fwcfg_add_file. This data will be send to the guest if he requests it.

This revision is now accepted and ready to land.Apr 24 2023, 3:27 PM
This revision was automatically updated to reflect the committed changes.