This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fuss:libvirt [2018/01/19 23:37] – [Passing Plan 9 Permissions] office | fuss:libvirt [2020/08/31 20:08] – [Setting Custom Interface Name for Bridge Networking Mode] office | ||
---|---|---|---|
Line 11: | Line 11: | ||
Next, to start the install, run: | Next, to start the install, run: | ||
<code bash> | <code bash> | ||
- | virt-install --name live --network bridge:br0 --ram 1024 --boot cdrom --cdrom live.iso --graphics vnc, | + | virt-install --name live \ |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
Line 62: | Line 66: | ||
... | ... | ||
<model type=' | <model type=' | ||
- | ... | + | < |
+ | <host gso=' | ||
+ | <guest tso4=' | ||
+ | </ | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | The '' | ||
+ | <code bash> | ||
+ | ethtool -K br0 tso off sg off ufo off gro off gso off | ||
+ | </ | ||
+ | where: | ||
+ | * '' | ||
+ | |||
+ | |||
====== Speed-Up Virtualization using Multi-Queue VirtIO Networking ====== | ====== Speed-Up Virtualization using Multi-Queue VirtIO Networking ====== | ||
Line 602: | Line 618: | ||
====== Passing Plan 9 Permissions ====== | ====== Passing Plan 9 Permissions ====== | ||
- | Given a passed-through folder defined in the domain configuration | + | |
+ | ===== Access Mode Mapped ===== | ||
+ | |||
+ | The following configuration changes for the domain | ||
+ | <code xml> | ||
+ | < | ||
+ | <source dir='/ | ||
+ | <target dir=' | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Access Mode Passthrough ===== | ||
+ | |||
+ | For passthrough access mode, the following | ||
<code xml> | <code xml> | ||
< | < | ||
Line 610: | Line 639: | ||
</ | </ | ||
- | virtual | + | Virtual |
< | < | ||
user = " | user = " | ||
Line 621: | Line 650: | ||
</ | </ | ||
has to be added to ''/ | has to be added to ''/ | ||
+ | |||
+ | ===== Mounting the Share ===== | ||
Once the virtual machine boots, the share can then be automatically mounted by adding the following line: | Once the virtual machine boots, the share can then be automatically mounted by adding the following line: | ||
Line 632: | Line 663: | ||
* '' | * '' | ||
+ | ====== Setting Custom Interface Name for Bridge Networking Mode ====== | ||
+ | |||
+ | libvirt allows using: | ||
+ | < | ||
+ | <target dev=' | ||
+ | </ | ||
+ | |||
+ | to set the custom name for bridge interfaces such as '' | ||
+ | |||
+ | However, if the name of the interface contains the substring '' | ||
+ | < | ||
+ | <target dev=' | ||
+ | </ | ||
+ | |||
+ | will just be ignored by libvirt. | ||
+ | |||
+ | To resolve this issue, use a more custom-tailored interface name, for instance: | ||
+ | < | ||
+ | <target dev=' | ||
+ | </ | ||
+ | |||
+ | without containing the '' | ||
+ | |||
+ | ====== Strange Windows Install Errors ====== | ||
+ | |||
+ | One easy workaround for a BSoD on a fresh Windows install complaining about '' | ||