QEMU: Difference between revisions

NobbZ (talk | contribs)
Emulate different architecture: Adjusted the build to not rely on reaily set up binfmt/remote builders anymore. Fixed some other problems I had during experiments. Still I was unable to actually see the started VM in virt-man or similar or connect to it, additional info needed!
DHCP (talk | contribs)
m Setup: formatting fixes for consistency across wiki: 1) don't nest `systemPackages` in `environment` 2) use <syntaxhighlight lang=console> and '$' prefix for shell commands
 
Line 5: Line 5:
== Setup ==
== Setup ==
To install the main QEMU program system-wide, add the following to your <code>configuration.nix</code>:<syntaxhighlight lang=nix>
To install the main QEMU program system-wide, add the following to your <code>configuration.nix</code>:<syntaxhighlight lang=nix>
  environment = {
environment.systemPackages = [
    systemPackages = [ pkgs.qemu ];
  pkgs.qemu
  };
];
</syntaxhighlight>
</syntaxhighlight>


Line 18: Line 18:
https://github.com/quickemu-project/quickemu
https://github.com/quickemu-project/quickemu


<syntaxhighlight lang=bash>
<syntaxhighlight lang=console>
quickget windows 11
$ quickget windows 11
quickemu --vm windows-11.conf
$ quickemu --vm windows-11.conf
</syntaxhighlight>
</syntaxhighlight>