MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / default_net

Method default_net

test_infra/src/lib.rs:2007–2009  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2005 }
2006
2007 pub fn default_net(&mut self) -> &mut Self {
2008 self.args(["--net", self.guest.default_net_string().as_str()])
2009 }
2010
2011 pub fn default_kernel_cmdline_with_platform(&mut self, platform: Option<&str>) -> &mut Self {
2012 if self.guest.vm_type == GuestVmType::Confidential {

Calls 2

argsMethod · 0.80
default_net_stringMethod · 0.80