Page MenuHomeFreeBSD

Remove more vestiges of Xen PV domU.
ClosedPublic

Authored by jhb on Aug 1 2015, 5:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 11:26 PM
Unknown Object (File)
Oct 26 2024, 8:15 AM
Unknown Object (File)
Oct 26 2024, 8:15 AM
Unknown Object (File)
Oct 26 2024, 8:15 AM
Unknown Object (File)
Oct 26 2024, 8:15 AM
Unknown Object (File)
Oct 26 2024, 8:01 AM
Unknown Object (File)
Oct 26 2024, 12:07 AM
Unknown Object (File)
Oct 14 2024, 7:06 PM
Subscribers

Details

Summary

Bruce noticed that xen_setbootenv wasn't defined anymore and after some
more digging I found that nothing in xenfunc.h was used anymore along
with most of amd64's xenvar.h.

Test Plan

Built all amd64, i386, and pc98 kernels via tinderbox.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

jhb retitled this revision from to Remove more vestiges of Xen PV domU..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: royger.
jhb added a subscriber: kib.
royger edited edge metadata.

Thanks for the cleanup, I have a comment (more of a polite request actually ;)). If you don't feel like replacing the usages of vtomach you can commit this as-is, in any case it's better than what we had.

I've also realized we have some !xen_feature(XENFEAT_auto_translated_physmap) cases in netfront. Those should be removed, since now FreeBSD only supports running with an auto translated physmap.

sys/amd64/include/xen/xenvar.h
0

Leaving this file only for the vtomach macro seems quite of a waste, we should replace the usage of vtomach with vtophys.

This revision is now accepted and ready to land.Aug 4 2015, 8:27 AM
jhb edited edge metadata.

Remove <machine/xenvar.h> entirely.

This revision now requires review to proceed.Aug 5 2015, 5:14 AM

I've axed vtomach() as well when removing xenvar.h. After this is approved and goes in I can look at the auto_translated_physmap feature as a followup change.

This revision was automatically updated to reflect the committed changes.