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/07/27 13:27] – [Create a New Virtual Machine] office | fuss:libvirt [2021/12/22 14:48] – [The VirtIO Pseudo-Random Generator] office | ||
---|---|---|---|
Line 389: | Line 389: | ||
====== The VirtIO Pseudo-Random Generator ====== | ====== The VirtIO Pseudo-Random Generator ====== | ||
- | Guest machines can be configured to use the host random hardware for pseudo-random number generation. | + | Guest machines can be configured to use the host random hardware for pseudo-random number generation. |
+ | <code xml> | ||
+ | <rng model='virtio'> | ||
+ | <backend model='random'>/ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Next, install the '' | ||
+ | <code bash> | ||
+ | apt-get install rng-tools | ||
+ | </ | ||
+ | and start '' | ||
+ | <code bash> | ||
+ | systemctl restart rng-tools | ||
+ | </ | ||
===== Haveged ===== | ===== Haveged ===== | ||
Line 618: | Line 632: | ||
====== 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 626: | Line 653: | ||
</ | </ | ||
- | virtual | + | Virtual |
< | < | ||
user = " | user = " | ||
Line 637: | Line 664: | ||
</ | </ | ||
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 648: | Line 677: | ||
* '' | * '' | ||
+ | ====== 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 '' | ||