File tree Expand file tree Collapse file tree 4 files changed +24
-2
lines changed
Expand file tree Collapse file tree 4 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ <h2 id="microvmdevices"><a class="header" href="#microvmdevices">microvm.devices
272272} {
273273 bus = "pci";
274274 path = "0000:01:01.0";
275+ deviceExtraArgs = "id=hostId,x-igd-opregion=on";
275276} {
276277 # QEMU only
277278 bus = "usb";
@@ -299,6 +300,16 @@ <h2 id="microvmdevicespath"><a class="header" href="#microvmdevicespath">microvm
299300< ul >
300301< li > < a href ="https://github.com/astro/microvm.nix/tree/main/nixos-modules/microvm/options.nix "> microvm.nix/nixos-modules/microvm/options.nix</ a > </ li >
301302</ ul >
303+ < h2 id ="microvmdevicesqemudeviceextraargs "> < a class ="header " href ="#microvmdevicesqemudeviceextraargs "> microvm.devices.*.qemu.deviceExtraArgs</ a > </ h2 >
304+ < p > Device additional arguments (optional)</ p >
305+ < p > < em > Type:</ em >
306+ null or string</ p >
307+ < p > < em > Default:</ em >
308+ < code > null</ code > </ p >
309+ < p > < em > Declared by:</ em > </ p >
310+ < ul >
311+ < li > < a href ="https://github.com/astro/microvm.nix/tree/main/nixos-modules/microvm/options.nix "> microvm.nix/nixos-modules/microvm/options.nix</ a > </ li >
312+ </ ul >
302313< h2 id ="microvmforwardports "> < a class ="header " href ="#microvmforwardports "> microvm.forwardPorts</ a > </ h2 >
303314< p > When using the SLiRP user networking (default), this option allows to
304315forward ports to/from the host/guest.</ p >
Original file line number Diff line number Diff line change @@ -631,6 +631,7 @@ <h2 id="microvmdevices"><a class="header" href="#microvmdevices">microvm.devices
631631} {
632632 bus = "pci";
633633 path = "0000:01:01.0";
634+ deviceExtraArgs = "id=hostId,x-igd-opregion=on";
634635} {
635636 # QEMU only
636637 bus = "usb";
@@ -658,6 +659,16 @@ <h2 id="microvmdevicespath"><a class="header" href="#microvmdevicespath">microvm
658659< ul >
659660< li > < a href ="https://github.com/astro/microvm.nix/tree/main/nixos-modules/microvm/options.nix "> microvm.nix/nixos-modules/microvm/options.nix</ a > </ li >
660661</ ul >
662+ < h2 id ="microvmdevicesqemudeviceextraargs "> < a class ="header " href ="#microvmdevicesqemudeviceextraargs "> microvm.devices.*.qemu.deviceExtraArgs</ a > </ h2 >
663+ < p > Device additional arguments (optional)</ p >
664+ < p > < em > Type:</ em >
665+ null or string</ p >
666+ < p > < em > Default:</ em >
667+ < code > null</ code > </ p >
668+ < p > < em > Declared by:</ em > </ p >
669+ < ul >
670+ < li > < a href ="https://github.com/astro/microvm.nix/tree/main/nixos-modules/microvm/options.nix "> microvm.nix/nixos-modules/microvm/options.nix</ a > </ li >
671+ </ ul >
661672< h2 id ="microvmforwardports "> < a class ="header " href ="#microvmforwardports "> microvm.forwardPorts</ a > </ h2 >
662673< p > When using the SLiRP user networking (default), this option allows to
663674forward ports to/from the host/guest.</ p >
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments