mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
config: there is no need to check vhost-vosck for FC
Since the FC used the hybrid vsock, there's no need to check whether the vhost vsock suported by host. Fixes: #387 Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
This commit is contained in:
parent
3e6e3a2cd4
commit
83b2366560
@ -561,10 +561,6 @@ func newFirecrackerHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) {
|
|||||||
return vc.HypervisorConfig{}, err
|
return vc.HypervisorConfig{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if !utils.SupportsVsocks() {
|
|
||||||
return vc.HypervisorConfig{}, errors.New("No vsock support, firecracker cannot be used")
|
|
||||||
}
|
|
||||||
|
|
||||||
rxRateLimiterMaxRate, err := h.getRxRateLimiterCfg()
|
rxRateLimiterMaxRate, err := h.getRxRateLimiterCfg()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return vc.HypervisorConfig{}, err
|
return vc.HypervisorConfig{}, err
|
||||||
|
Loading…
Reference in New Issue
Block a user