vmdriver

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package vmdriver implements a u-root/pkg/qemu.Device for networking.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostNetwork

type HostNetwork struct {
	// Net must be an IPv4 network.
	Net *net.IPNet
}

HostNetwork provides QEMU user-mode networking to the host. HostNetwork implements u-root/pkg/qemu.Device.

func (HostNetwork) Cmdline

func (h HostNetwork) Cmdline() []string

Cmdline implements qemu.Device.Cmdline.

func (HostNetwork) KArgs

func (h HostNetwork) KArgs() []string

KArgs implements qemu.Device.KArgs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL