Changes

Jump to navigation Jump to search
521 bytes added ,  08:26, 16 November 2019
Line 1: Line 1: −
{{TOCright}}
+
<noinclude>[[Category:Virtual machine or platform emulator]]</noinclude>
The [[wikipedia:QEMU|QEMU]] emulation environment, including the accelerators kqemu and kvm, lets you run a variety of software on your computer in a protected environment. This includes software that is incompatible with your operating system, and software for different processors. Another option is VMWare, commercial software with a no-cost runtime version.
+
The [[wikipedia:QEMU|QEMU]] emulation environment, including the accelerators kqemu and kvm, lets you run a variety of software on your computer in a protected environment. This includes software that is incompatible with your operating system, and software for different processors. Other options are [[VirtualBox]] (Free Software) and [[VMware]], commercial software with a no-cost runtime version.
    
==Use Cases==
 
==Use Cases==
   −
* [[Windows]]: Run [[Sugar]], [http://wiki.laptop.org/go/School_server School Server], Linux more generally (for example, as a method for shifting from Windows to Linux)
+
* [[Windows]]: Run [[Sugar]], [[olpc:School_server|School Server]], Linux more generally (for example, as a method for shifting from Windows to Linux)
 
* [[Macintosh]]: Run Sugar, School Server, any Linux
 
* [[Macintosh]]: Run Sugar, School Server, any Linux
 
* Linux on Linux: [[Fedora]] (including School Server) on [[Ubuntu]] and the like
 
* Linux on Linux: [[Fedora]] (including School Server) on [[Ubuntu]] and the like
* Sugar on Arm processors: Encore [[Mobilis]] and proposed [http://wiki.laptop.org/go/XO-2 XO-2]
+
* Sugar on Arm processors: Encore [[Mobilis]] and proposed [[olpc:XO-2|XO-2]]
 
* BSD: qemu in development
 
* BSD: qemu in development
   −
You can run [[image files]] of almost any version of Sugar and the XS school server in qemu, including daily builds, releases, Sugar on a Stick, Live CDs, sugar-jhbuild, and whatever else we come up with. As we [[port Sugar]] to other computer architectures, such as [[ARM]], this will become increasingly important, so that developers and testers do not have to purchase one of each. There are emulation modules for qemu to emulate a wide range of processors and peripherals.
+
You can run [[Emulator image files]] of almost any version of Sugar and the XS school server in qemu, including daily builds, releases, Sugar on a Stick, Live CDs, sugar-jhbuild, and whatever else we come up with. As we [[port Sugar]] to other computer architectures, such as ARM[[https://wiki.sugarlabs.org/go/Fedora_32#Rpi]], this will become increasingly important, so that developers and testers do not have to purchase one of each. There are emulation modules for qemu to emulate a wide range of processors and peripherals.
    
==Getting Started==
 
==Getting Started==
Line 23: Line 23:  
You should install an accelerator if at all possible, that is, if your processor supports virtualization in hardware. To find out whether it does, run the command
 
You should install an accelerator if at all possible, that is, if your processor supports virtualization in hardware. To find out whether it does, run the command
   −
  $ egrep (vmx|svm)/proc/cpuinfo
+
  $ egrep '(vmx|svm)' /proc/cpuinfo
 
  flags : fpu vme de pse tsc msr pae mce cx8 … vmx …
 
  flags : fpu vme de pse tsc msr pae mce cx8 … vmx …
 
  flags : fpu vme de pse tsc msr pae mce cx8 … vmx …
 
  flags : fpu vme de pse tsc msr pae mce cx8 … vmx …
Line 96: Line 96:     
$ kvm -m 512 -curses -hda hda.img
 
$ kvm -m 512 -curses -hda hda.img
 +
 +
==qemu monitor==
 +
 +
The key combination Ctl-Alt-2 (not F2) transfers you from your running virtual machine to the qemu command line. This lets you query the system, save and load snapshots, and perform other administrative tasts. See the qemu documentation for available commands. Unfortunately the process of saving snapshots is not reliable. It may appear to work, but create a corrupted image.
    
==Resources==
 
==Resources==
Line 101: Line 105:  
* [http://www.nongnu.org/qemu/ QEMU home page]
 
* [http://www.nongnu.org/qemu/ QEMU home page]
 
* [http://virtualize-it.highspeed-data.net/index.php/tag/kqemu/ more on KVM]
 
* [http://virtualize-it.highspeed-data.net/index.php/tag/kqemu/ more on KVM]
 +
* [[OLPC:QEMU]]
12,355

edits

Navigation menu