https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&user=Joel+H&feedformat=atomAlpine Linux - User contributions [en]2024-03-29T06:09:17ZUser contributionsMediaWiki 1.40.0https://wiki.alpinelinux.org/w/index.php?title=QEMU&diff=17307QEMU2020-05-02T04:02:01Z<p>Joel H: Moved paragraph about qxl from the XFCE page to here, because it is more relevant here.</p>
<hr />
<div>[http://wiki.qemu.org/Index.html QEMU] is a very flexible open source machine emulator and virtualizer. QEMU is able to virtualize x86, PowerPC, and S390 guests.<br />
<br />
= Install Alpine Linux in Qemu =<br />
{{:Install_Alpine_in_Qemu}}<br />
<br />
= Live mode =<br />
{{:Running_Alpine_in_Qemu_Live_mode}}<br />
<br />
= Advanced network configuration =<br />
<br />
{{:Running Alpine Linux As a QEMU networked Guest}}<br />
<br />
= Using Xorg inside Qemu =<br />
<br />
The video driver needed for Xorg inside Qemu is <code>xf86-video-modesetting</code>.<br />
<br />
If you decided to use a ''qxl'' Video on KVM/Qemu guest, add this configuration to `/etc/X11/xorg.conf`<br />
<br />
{{Cmd|Section "Device"<br />
Identifier "qxl"<br />
Driver "qxl"<br />
Option "ENABLE_SURFACES" "False"<br />
EndSection}}<br />
<br />
= Run a guest OS on Alpine Linux using Qemu =<br />
{{Cmd|sudo apk add qemu-system-x86_64 qemu-ui-gtk}}<br />
{{Cmd|sudo modprobe kvm-intel}}<br />
{{Cmd|sudo addgroup user kvm}}<br />
Logout and login again so you become part of the kvm group<br />
{{Cmd|qemu-system-x86_64 --enable-kvm -m 1024M -fda M6410220.IMG}}<br />
<br />
[[Category:Virtualization]]</div>Joel H