public class QEmuVirtioNetRecipe extends QEmuOptionsList implements QEmuRecipe
QEmuOption.Container
Modifier and Type | Field and Description |
---|---|
QEmuDeviceOption.VirtioNet |
deviceOption |
QEmuNetdevOption.Tap |
netdevOption |
modCount
Constructor and Description |
---|
QEmuVirtioNetRecipe(QEmuIdAllocator allocator,
String ifname)
Call new QEmuVirtioNetRecipe(line.getAllocator(), "tap0");
|
Modifier and Type | Method and Description |
---|---|
QEmuVirtioNetRecipe |
withMac(String mac) |
QEmuVirtioNetRecipe |
withPciAddress(QEmuIdAllocator allocator) |
QEmuVirtioNetRecipe |
withPciAddress(String address) |
QEmuVirtioNetRecipe |
withProperty(String key,
String value) |
QEmuVirtioNetRecipe |
withTapInterface(String ifname) |
appendTo, withAllocator
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
appendTo
forEach, iterator, spliterator
containsAll, equals, hashCode
parallelStream, stream
public final QEmuNetdevOption.Tap netdevOption
public final QEmuDeviceOption.VirtioNet deviceOption
public QEmuVirtioNetRecipe(@Nonnull QEmuIdAllocator allocator, @Nonnull String ifname)
allocator
- ifname
- @Nonnull public QEmuVirtioNetRecipe withMac(@Nonnull String mac)
@Nonnull public QEmuVirtioNetRecipe withPciAddress(@Nonnull String address)
@Nonnull public QEmuVirtioNetRecipe withPciAddress(@Nonnull QEmuIdAllocator allocator)
@Nonnull public QEmuVirtioNetRecipe withTapInterface(@Nonnull String ifname)
@Nonnull public QEmuVirtioNetRecipe withProperty(@Nonnull String key, @Nonnull String value)