To create and manipulate VMs successfully on Hygon platform, add
Hygon Dhyana support to the bhyve tool set.
Details
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Paths
| Differential D23554 Authored by puwen_hygon.cn on Feb 7 2020, 10:30 AM.
Details
Diff Detail
Event TimelineHerald added a reviewer: bhyve. · View Herald TranscriptFeb 7 2020, 10:30 AM2020-02-07 10:30:22 (UTC+0) This revision is now accepted and ready to land.Feb 13 2020, 5:14 PM2020-02-13 17:14:44 (UTC+0) Closed by commit rS357866: bhyve, bhyvectl: Add Hygon Dhyana support. (authored by kib). · Explain WhyFeb 13 2020, 7:05 PM2020-02-13 19:05:22 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 68266 head/usr.sbin/bhyve/xmsr.c
head/usr.sbin/bhyvectl/bhyvectl.c
|
It's not quite that risky, because if_tunnel_check_nesting() checks if the last tunnel hop was this struct ifnet, so if users configure a loop the packet will be discarded immediately, not when it hits the nesting limit.
We do still need the limit, because users might configure a large number of different nested tunnels, which could still run us out of stack space, but that's harder to do by accident.