This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| fuss:libvirt [2019/06/10 20:27] – [Passing Plan 9 Permissions] office | fuss:libvirt [2025/10/21 23:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 365: | Line 365: | ||
|   * Using the group policy editor (run '' |   * Using the group policy editor (run '' | ||
| - |    | + | |
| + |    | ||
| + | |||
| + | < | ||
| + | Windows Registry Editor Version 5.00 | ||
| + | |||
| + | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows] | ||
| + | " | ||
| + | </ | ||
| You can now issue: '' | You can now issue: '' | ||
| Line 389: | Line 397: | ||
| ====== 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.  | 
| - | + | ||
| - | ===== Haveged ===== | + | |
| - | + | ||
| - | Using '' | + | |
| - | <code bash> | + | |
| - | aptitude install haveged | + | |
| - | </ | + | |
| - | + | ||
| - | and then add to the guest machine  | + | |
| <code xml> | <code xml> | ||
|     <rng model=' |     <rng model=' | ||
| Line 405: | Line 404: | ||
| </ | </ | ||
| - | and restart  | + | Next, install the '' | 
| + | <code bash> | ||
| + | apt-get install rng-tools | ||
| + | </ | ||
| + | |||
| + | and start '' | ||
| + | <code bash> | ||
| + | systemctl  | ||
| + | </ | ||
| ===== EGD ===== | ===== EGD ===== | ||
| Line 685: | Line 693: | ||
| without containing the '' | without containing the '' | ||
| + | |||
| + | ====== Strange Windows Install Errors ====== | ||
| + | |||
| + | One easy workaround for a BSoD on a fresh Windows install complaining about '' | ||
| + | |||
| + | ====== Passing an USB Device to the Guest ====== | ||
| + | |||
| + | The USB device has to be identified first by vendor and product number which can be obtained by issuing the command: | ||
| + | <code bash> | ||
| + | lsusb -v | ||
| + | </ | ||
| + | |||
| + | and checking the '' | ||
| + | < | ||
| + |   idVendor  | ||
| + |   idProduct  | ||
| + | </ | ||
| + | |||
| + | Based on the vendor and product numbers, a domain XML file can be generated, such as: | ||
| + | <code xml> | ||
| + |     <hostdev mode=' | ||
| + |       < | ||
| + |         <vendor id=' | ||
| + |         <product id=' | ||
| + |       </ | ||
| + |     </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | that can then be inserted as part of the domain definition. | ||
| + | |||
| + | |||
| + | In order to plug and unplug a device from the guest to the host and vice-versa, the following twin converse commands can be used: | ||
| + | <code bash> | ||
| + | virsh attach-device DOMAIN --file device.xml --config | ||
| + | virsh detach-device DOMAIN --file device.xml | ||
| + | </ | ||
| + | where: | ||
| + |   * '' | ||
| + |   * '' | ||
| + | |||
| + | The additional '' | ||
| + | |||
| + | |||
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.