QEMU Version 2.11.0 User Documentation I

Total Page:16

File Type:pdf, Size:1020Kb

QEMU Version 2.11.0 User Documentation I QEMU version 2.11.0 User Documentation i Table of Contents 1 Introduction ::::::::::::::::::::::::::::::::::::: 1 1.1 Features :::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 2 QEMU PC System emulator ::::::::::::::::::: 2 2.1 Introduction :::::::::::::::::::::::::::::::::::::::::::::::::::: 2 2.2 Quick Start::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 2.3 Invocation :::::::::::::::::::::::::::::::::::::::::::::::::::::: 3 2.3.1 Standard options :::::::::::::::::::::::::::::::::::::::::: 3 2.3.2 Block device options ::::::::::::::::::::::::::::::::::::::: 9 2.3.3 USB options:::::::::::::::::::::::::::::::::::::::::::::: 19 2.3.4 Display options ::::::::::::::::::::::::::::::::::::::::::: 19 2.3.5 i386 target only::::::::::::::::::::::::::::::::::::::::::: 26 2.3.6 Network options :::::::::::::::::::::::::::::::::::::::::: 27 2.3.7 Character device options:::::::::::::::::::::::::::::::::: 35 2.3.8 Device URL Syntax::::::::::::::::::::::::::::::::::::::: 39 2.3.9 Bluetooth(R) options ::::::::::::::::::::::::::::::::::::: 42 2.3.10 TPM device options ::::::::::::::::::::::::::::::::::::: 42 2.3.11 Linux/Multiboot boot specific ::::::::::::::::::::::::::: 43 2.3.12 Debug/Expert options ::::::::::::::::::::::::::::::::::: 44 2.3.13 Generic object creation :::::::::::::::::::::::::::::::::: 53 2.4 Keys in the graphical frontends :::::::::::::::::::::::::::::::: 58 2.5 Keys in the character backend multiplexer ::::::::::::::::::::: 59 2.6 QEMU Monitor ::::::::::::::::::::::::::::::::::::::::::::::: 59 2.6.1 Commands ::::::::::::::::::::::::::::::::::::::::::::::: 59 2.6.2 Integer expressions:::::::::::::::::::::::::::::::::::::::: 71 2.7 Disk Images ::::::::::::::::::::::::::::::::::::::::::::::::::: 71 2.7.1 Quick start for disk image creation:::::::::::::::::::::::: 71 2.7.2 Snapshot mode ::::::::::::::::::::::::::::::::::::::::::: 71 2.7.3 VM snapshots :::::::::::::::::::::::::::::::::::::::::::: 71 2.7.4 qemu-img Invocation:::::::::::::::::::::::::::::::::::::: 72 2.7.5 qemu-nbd Invocation:::::::::::::::::::::::::::::::::::::: 81 2.7.6 Disk image file formats ::::::::::::::::::::::::::::::::::: 84 2.7.6.1 Read-only formats ::::::::::::::::::::::::::::::::::: 89 2.7.7 Using host drives ::::::::::::::::::::::::::::::::::::::::: 89 2.7.7.1 Linux:::::::::::::::::::::::::::::::::::::::::::::::: 90 2.7.7.2 Windows :::::::::::::::::::::::::::::::::::::::::::: 90 2.7.7.3 Mac OS X ::::::::::::::::::::::::::::::::::::::::::: 90 2.7.8 Virtual FAT disk images :::::::::::::::::::::::::::::::::: 90 2.7.9 NBD access :::::::::::::::::::::::::::::::::::::::::::::: 91 2.7.10 Sheepdog disk images:::::::::::::::::::::::::::::::::::: 91 2.7.11 iSCSI LUNs ::::::::::::::::::::::::::::::::::::::::::::: 92 2.7.12 GlusterFS disk images ::::::::::::::::::::::::::::::::::: 94 2.7.13 Secure Shell (ssh) disk images:::::::::::::::::::::::::::: 95 ii 2.7.14 Disk image file locking ::::::::::::::::::::::::::::::::::: 96 2.8 Network emulation :::::::::::::::::::::::::::::::::::::::::::: 96 2.8.1 VLANs ::::::::::::::::::::::::::::::::::::::::::::::::::: 96 2.8.2 Using TAP network interfaces::::::::::::::::::::::::::::: 96 2.8.2.1 Linux host ::::::::::::::::::::::::::::::::::::::::::: 96 2.8.2.2 Windows host ::::::::::::::::::::::::::::::::::::::: 97 2.8.3 Using the user mode network stack:::::::::::::::::::::::: 97 2.8.4 Connecting VLANs between QEMU instances ::::::::::::: 97 2.9 Other Devices ::::::::::::::::::::::::::::::::::::::::::::::::: 97 2.9.1 Inter-VM Shared Memory device:::::::::::::::::::::::::: 98 2.9.1.1 Migration with ivshmem ::::::::::::::::::::::::::::: 98 2.9.1.2 ivshmem and hugepages:::::::::::::::::::::::::::::: 98 2.10 Direct Linux Boot :::::::::::::::::::::::::::::::::::::::::::: 98 2.11 USB emulation ::::::::::::::::::::::::::::::::::::::::::::::: 99 2.11.1 Connecting USB devices ::::::::::::::::::::::::::::::::: 99 2.11.2 Using host USB devices on a Linux host :::::::::::::::: 100 2.12 VNC security ::::::::::::::::::::::::::::::::::::::::::::::: 101 2.12.1 Without passwords ::::::::::::::::::::::::::::::::::::: 101 2.12.2 With passwords :::::::::::::::::::::::::::::::::::::::: 101 2.12.3 With x509 certificates :::::::::::::::::::::::::::::::::: 101 2.12.4 With x509 certificates and client verification :::::::::::: 102 2.12.5 With x509 certificates, client verification and passwords :: 102 2.12.6 With SASL authentication:::::::::::::::::::::::::::::: 102 2.12.7 With x509 certificates and SASL authentication::::::::: 102 2.12.8 Generating certificates for VNC::::::::::::::::::::::::: 102 2.12.8.1 Setup the Certificate Authority :::::::::::::::::::: 103 2.12.8.2 Issuing server certificates :::::::::::::::::::::::::: 103 2.12.8.3 Issuing client certificates ::::::::::::::::::::::::::: 104 2.12.9 Configuring SASL mechanisms:::::::::::::::::::::::::: 104 2.13 GDB usage ::::::::::::::::::::::::::::::::::::::::::::::::: 105 2.14 Target OS specific information :::::::::::::::::::::::::::::: 106 2.14.1 Linux :::::::::::::::::::::::::::::::::::::::::::::::::: 106 2.14.2 Windows ::::::::::::::::::::::::::::::::::::::::::::::: 106 2.14.2.1 SVGA graphic modes support ::::::::::::::::::::: 106 2.14.2.2 CPU usage reduction :::::::::::::::::::::::::::::: 107 2.14.2.3 Windows 2000 disk full problem ::::::::::::::::::: 107 2.14.2.4 Windows 2000 shutdown::::::::::::::::::::::::::: 107 2.14.2.5 Share a directory between Unix and Windows :::::: 107 2.14.2.6 Windows XP security problem ::::::::::::::::::::: 107 2.14.3 MS-DOS and FreeDOS ::::::::::::::::::::::::::::::::: 107 2.14.3.1 CPU usage reduction :::::::::::::::::::::::::::::: 107 3 QEMU System emulator for non PC targets :: 108 3.1 PowerPC System emulator ::::::::::::::::::::::::::::::::::: 108 3.2 Sparc32 System emulator ::::::::::::::::::::::::::::::::::::: 109 3.3 Sparc64 System emulator ::::::::::::::::::::::::::::::::::::: 110 3.4 MIPS System emulator ::::::::::::::::::::::::::::::::::::::: 110 3.5 ARM System emulator ::::::::::::::::::::::::::::::::::::::: 111 iii 3.6 ColdFire System emulator :::::::::::::::::::::::::::::::::::: 114 3.7 Cris System emulator::::::::::::::::::::::::::::::::::::::::: 115 3.8 Microblaze System emulator :::::::::::::::::::::::::::::::::: 115 3.9 SH4 System emulator :::::::::::::::::::::::::::::::::::::::: 115 3.10 Xtensa System emulator::::::::::::::::::::::::::::::::::::: 115 4 QEMU Guest Agent invocation ::::::::::::: 116 5 QEMU User space emulator ::::::::::::::::: 118 5.1 Supported Operating Systems :::::::::::::::::::::::::::::::: 118 5.2 Features:::::::::::::::::::::::::::::::::::::::::::::::::::::: 118 5.3 Linux User space emulator:::::::::::::::::::::::::::::::::::: 118 5.3.1 Quick Start ::::::::::::::::::::::::::::::::::::::::::::: 118 5.3.2 Wine launch::::::::::::::::::::::::::::::::::::::::::::: 119 5.3.3 Command line options ::::::::::::::::::::::::::::::::::: 119 5.3.4 Other binaries ::::::::::::::::::::::::::::::::::::::::::: 120 5.4 BSD User space emulator::::::::::::::::::::::::::::::::::::: 121 5.4.1 BSD Status ::::::::::::::::::::::::::::::::::::::::::::: 121 5.4.2 Quick Start ::::::::::::::::::::::::::::::::::::::::::::: 121 5.4.3 Command line options ::::::::::::::::::::::::::::::::::: 121 Appendix A Implementation notes :::::::::::: 122 A.1 CPU emulation :::::::::::::::::::::::::::::::::::::::::::::: 122 A.1.1 x86 and x86-64 emulation ::::::::::::::::::::::::::::::: 122 A.1.2 ARM emulation::::::::::::::::::::::::::::::::::::::::: 122 A.1.3 MIPS emulation :::::::::::::::::::::::::::::::::::::::: 122 A.1.4 PowerPC emulation ::::::::::::::::::::::::::::::::::::: 122 A.1.5 Sparc32 and Sparc64 emulation ::::::::::::::::::::::::: 123 A.1.6 Xtensa emulation ::::::::::::::::::::::::::::::::::::::: 123 A.2 Translator Internals:::::::::::::::::::::::::::::::::::::::::: 123 A.3 QEMU compared to other emulators ::::::::::::::::::::::::: 125 A.4 Bibliography::::::::::::::::::::::::::::::::::::::::::::::::: 126 Appendix B Deprecated features :::::::::::::: 127 B.1 System emulator command line arguments ::::::::::::::::::: 127 B.1.1 -drive boot=on|off (since 1.3.0) ::::::::::::::::::::::::: 127 B.1.2 -tdf (since 1.3.0) :::::::::::::::::::::::::::::::::::::::: 127 B.1.3 -no-kvm-pit-reinjection (since 1.3.0) ::::::::::::::::::::: 127 B.1.4 -no-kvm-irqchip (since 1.3.0) :::::::::::::::::::::::::::: 127 B.1.5 -no-kvm-pit (since 1.3.0) :::::::::::::::::::::::::::::::: 127 B.1.6 -no-kvm (since 1.3.0) :::::::::::::::::::::::::::::::::::: 127 B.1.7 -mon default=on (since 2.4.0) ::::::::::::::::::::::::::: 127 B.1.8 -vnc tls (since 2.5.0)::::::::::::::::::::::::::::::::::::: 128 B.1.9 -vnc x509 (since 2.5.0) :::::::::::::::::::::::::::::::::: 128 B.1.10 -vnc x509verify (since 2.5.0) :::::::::::::::::::::::::::: 128 B.1.11 -tftp (since 2.6.0) :::::::::::::::::::::::::::::::::::::: 128 iv B.1.12 -bootp (since 2.6.0) :::::::::::::::::::::::::::::::::::: 128 B.1.13 -redir (since 2.6.0) ::::::::::::::::::::::::::::::::::::: 128 B.1.14 -smb (since 2.6.0) :::::::::::::::::::::::::::::::::::::: 128 B.1.15 -net channel (since 2.6.0)::::::::::::::::::::::::::::::: 128 B.1.16 -net vlan (since 2.9.0) :::::::::::::::::::::::::::::::::: 128 B.1.17 -drive if=scsi (since 2.9.0) :::::::::::::::::::::::::::::: 128 B.1.18 -net dump (since 2.10.0) ::::::::::::::::::::::::::::::: 129 B.1.19 -hdachs (since 2.10.0) :::::::::::::::::::::::::::::::::: 129 B.1.20 -usbdevice (since 2.10.0) ::::::::::::::::::::::::::::::: 129 B.1.21 -nodefconfig (since 2.11.0) :::::::::::::::::::::::::::::: 129 B.2 qemu-img command line arguments :::::::::::::::::::::::::: 129 B.2.1 convert
Recommended publications
  • QEMU Version 2.10.2 User Documentation I
    QEMU version 2.10.2 User Documentation i Table of Contents 1 Introduction ::::::::::::::::::::::::::::::::::::: 1 1.1 Features :::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 2 QEMU PC System emulator ::::::::::::::::::: 2 2.1 Introduction :::::::::::::::::::::::::::::::::::::::::::::::::::: 2 2.2 Quick Start::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 2.3 Invocation :::::::::::::::::::::::::::::::::::::::::::::::::::::: 3 2.3.1 Standard options :::::::::::::::::::::::::::::::::::::::::: 3 2.3.2 Block device options ::::::::::::::::::::::::::::::::::::::: 9 2.3.3 USB options:::::::::::::::::::::::::::::::::::::::::::::: 19 2.3.4 Display options ::::::::::::::::::::::::::::::::::::::::::: 19 2.3.5 i386 target only::::::::::::::::::::::::::::::::::::::::::: 26 2.3.6 Network options :::::::::::::::::::::::::::::::::::::::::: 27 2.3.7 Character device options:::::::::::::::::::::::::::::::::: 35 2.3.8 Device URL Syntax::::::::::::::::::::::::::::::::::::::: 39 2.3.9 Bluetooth(R) options ::::::::::::::::::::::::::::::::::::: 42 2.3.10 TPM device options ::::::::::::::::::::::::::::::::::::: 42 2.3.11 Linux/Multiboot boot specific ::::::::::::::::::::::::::: 43 2.3.12 Debug/Expert options ::::::::::::::::::::::::::::::::::: 44 2.3.13 Generic object creation :::::::::::::::::::::::::::::::::: 52 2.4 Keys in the graphical frontends :::::::::::::::::::::::::::::::: 58 2.5 Keys in the character backend multiplexer ::::::::::::::::::::: 58 2.6 QEMU Monitor ::::::::::::::::::::::::::::::::::::::::::::::: 59 2.6.1 Commands :::::::::::::::::::::::::::::::::::::::::::::::
    [Show full text]
  • Virtualization Technologies Overview Course: CS 490 by Mendel
    Virtualization technologies overview Course: CS 490 by Mendel Rosenblum Name Can boot USB GUI Live 3D Snaps Live an OS on mem acceleration hot of migration another ory runnin disk alloc g partition ation system as guest Bochs partially partially Yes No Container s Cooperati Yes[1] Yes No No ve Linux (supporte d through X11 over networkin g) Denali DOSBox Partial (the Yes No No host OS can provide DOSBox services with USB devices) DOSEMU No No No FreeVPS GXemul No No Hercules Hyper-V iCore Yes Yes No Yes No Virtual Accounts Imperas Yes Yes Yes Yes OVP (Eclipse) Tools Integrity Yes No Yes Yes No Yes (HP-UX Virtual (Integrity guests only, Machines Virtual Linux and Machine Windows 2K3 Manager in near future) (add-on) Jail No Yes partially Yes No No No KVM Yes [3] Yes Yes [4] Yes Supported Yes [5] with VMGL [6] Linux- VServer LynxSec ure Mac-on- Yes Yes No No Linux Mac-on- No No Mac OpenVZ Yes Yes Yes Yes No Yes (using Xvnc and/or XDMCP) Oracle Yes Yes Yes Yes Yes VM (manage d by Oracle VM Manager) OVPsim Yes Yes Yes Yes (Eclipse) Padded Yes Yes Yes Cell for x86 (Green Hills Software) Padded Yes Yes Yes No Cell for PowerPC (Green Hills Software) Parallels Yes, if Boot Yes Yes Yes DirectX 9 Desktop Camp is and for Mac installed OpenGL 2.0 Parallels No Yes Yes No partially Workstati on PearPC POWER Yes Yes No Yes No Yes (on Hypervis POWER 6- or (PHYP) based systems, requires PowerVM Enterprise Licensing) QEMU Yes Yes Yes [4] Some code Yes done [7]; Also supported with VMGL [6] QEMU w/ Yes Yes Yes Some code Yes kqemu done [7]; Also module supported
    [Show full text]
  • Comparison of Platform Virtual Machines - Wikipedia
    Comparison of platform virtual machines - Wikipedia... http://en.wikipedia.org/wiki/Comparison_of_platform... Comparison of platform virtual machines From Wikipedia, the free encyclopedia The table below compares basic information about platform virtual machine (VM) packages. Contents 1 General Information 2 More details 3 Features 4 Other emulators 5 See also 6 References 7 External links General Information Name Creator Host CPU Guest CPU Bochs Kevin Lawton any x86, AMD64 CHARON-AXP Stromasys x86 (64 bit) DEC Alphaserver CHARON-VAX Stromasys x86, IA-64 VAX x86, x86-64, SPARC (portable: Contai ners (al so 'Zones') Sun Microsystems (Same as host) not tied to hardware) Dan Aloni helped by other Cooperati ve Li nux x86[1] (Same as parent) developers (1) Denal i University of Washington x86 x86 Peter Veenstra and Sjoerd with DOSBox any x86 community help DOSEMU Community Project x86, AMD64 x86 1 of 15 10/26/2009 12:50 PM Comparison of platform virtual machines - Wikipedia... http://en.wikipedia.org/wiki/Comparison_of_platform... FreeVPS PSoft (http://www.FreeVPS.com) x86, AMD64 compatible ARM, MIPS, M88K GXemul Anders Gavare any PowerPC, SuperH Written by Roger Bowler, Hercul es currently maintained by Jay any z/Architecture Maynard x64 + hardware-assisted Hyper-V Microsoft virtualization (Intel VT or x64,x86 AMD-V) OR1K, MIPS32, ARC600/ARC700, A (can use all OVP OVP Imperas [1] [2] Imperas OVP Tool s x86 (http://www.imperas.com) (http://www.ovpworld compliant models, u can write own to pu OVP APIs) i Core Vi rtual Accounts iCore Software
    [Show full text]
  • LIFE Packages
    LIFE packages Index Office automation Desktop Internet Server Web developpement Tele centers Emulation Health centers Graphics High Schools Utilities Teachers Multimedia Tertiary schools Programming Database Games Documentation Internet - Firefox - Browser - Epiphany - Nautilus - Ftp client - gFTP - Evolution - Mail client - Thunderbird - Internet messaging - Gaim - Gaim - IRC - XChat - Gaim - VoIP - Skype - Videomeeting - Gnome meeting - GnomeBittorent - P2P - aMule - Firefox - Download manager - d4x - Telnet - Telnet Web developpement - Quanta - Bluefish - HTML editor - Nvu - Any text editor - HTML galerie - Album - Web server - XAMPP - Collaborative publishing system - Spip Desktop - Gnome - Desktop - Kde - Xfce Graphics - Advanced image editor - The Gimp - KolourPaint - Simple image editor - gPaint - TuxPaint - CinePaint - Video editor - Kino - OpenOffice Draw - Vector vraphics editor - Inkscape - Dia - Diagram editor - Kivio - Electrical CAD - Electric - 3D modeller/render - Blender - CAD system - QCad Utilities - Calculator - gCalcTool - gEdit - gxEdit - Text editor - eMacs21 - Leafpad - Application finder - Xfce4-appfinder - Desktop search tool - Beagle - File explorer - Nautilus -Archive manager - File-Roller - Nautilus CD Burner - CD burner - K3B - GnomeBaker - Synaptic - System updates - apt-get - IPtables - Firewall - FireStarter - BackupPC - Backup - Amanda - gnome-terminal - Terminal - xTerm - xTerminal - Scanner - Xsane - Partition editor - gParted - Making image of disks - Partitimage - Mirroring over network - UDP Cast
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • YOUR LETTERS Got Something to Say? an Idea for a New Magazine Feature? Or a Great Discovery? Email Us: [email protected]
    MAIL YOUR LETTERS Got something to say? An idea for a new magazine feature? Or a great discovery? Email us: [email protected] LINUX VOICE STAR LETTER FIND OF THE FORTNIGHT Thanks for the pointer to looks good on the 10.1–inch Tanglu [DistroHopper, LV008]. LED 1024x600 display. Even from the live DVD Installation to my netbook the KDE version was more completed in about 30 responsive than I would minutes. Tanglu detected expect on my Gateway the netbook platform then LT4004u with Intel Atom configured the desktop for the N2600 CPU and 3600 KDE 4 netbook GUI. Graphics Media Accelerator System Monitor showed (GMA). It just booted and got four threads consuming less down to business without than 20% of CPU capacity, needing any intervention from indicating that Tanglu me. Other flavours of OS have installed the Intel drivers for been troublesome with this the GMA: SolydK failed in this combination of CPU, GMA and area, resorted to software Broadcom network interface. rendering of the graphics, Debian, but with with graphical polish and a regular release cycle… In the past, I have found producing a single-thread CPU sounds familiar… sounds like Ubuntu! KDE to be ponderously load of around 70% capacity – baroque despite being well- SolydK took over two hours to Ben says: I’m glad you like it! made that it’s refreshing to developed. The newer version install too We see so many Debian/Ubuntu see a distro trying something of KDE delivered with Tanglu Andrew Shead respins with minimal changes authentically new. WE FAIL A couple of points.
    [Show full text]
  • User-Mode Linux
    User-Mode Linux Jeff Dike Abstract 2 Devices User-mode Linux is the port of the Linux kernel to All devices accessible inside the virtual machine userspace. It runs a Linux virtual machine in a set are themselves virtual. They are constructed from of processes on a Linux host. A UML virtual ma- the appropriate abstractions provided by the host. chine is capable of running nearly the same set of UML supports the full range of devices expected of processes as the host. It lends itself to a variety a Linux box: of applications, such as kernel development, secu- rity applications like sandboxing and jailing, and virtual networking. This paper describes the design and implementation of UML, current and future ap- Consoles and serial lines UML has a main con- plications for it, and future work. sole, which is typically the window in which it was run, as well as virtual consoles and se- rial lines, which are exactly analogous to their counterparts on a physical machine. However, 1 Introduction on a physical machine, consoles and serial ports are different physical devices. On UML, there is no real distinction, so they share most of UML is a port of Linux to itself. That is, it treats their code. Both can be attached to a vari- Linux as a platform to which the kernel can be ety of host devices, including ttys, ptys, pts de- ported, like platforms such as Intel and Alpha. The vices, xterms, sockets, and already-existing file architecture-dependent code which comprises UML descriptors. implements all of the low-level hardware support that the generic kernel needs in terms of Linux sys- Block devices UML has a single block driver tem calls.
    [Show full text]
  • QEMU Version 2.10.50 User Documentation I
    QEMU version 2.10.50 User Documentation i Table of Contents 1 Introduction ::::::::::::::::::::::::::::::::::::: 1 1.1 Features :::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 2 QEMU PC System emulator ::::::::::::::::::: 2 2.1 Introduction :::::::::::::::::::::::::::::::::::::::::::::::::::: 2 2.2 Quick Start::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 2.3 Invocation :::::::::::::::::::::::::::::::::::::::::::::::::::::: 3 2.3.1 Standard options :::::::::::::::::::::::::::::::::::::::::: 3 2.3.2 Block device options ::::::::::::::::::::::::::::::::::::::: 9 2.3.3 USB options:::::::::::::::::::::::::::::::::::::::::::::: 19 2.3.4 Display options ::::::::::::::::::::::::::::::::::::::::::: 19 2.3.5 i386 target only::::::::::::::::::::::::::::::::::::::::::: 26 2.3.6 Network options :::::::::::::::::::::::::::::::::::::::::: 27 2.3.7 Character device options:::::::::::::::::::::::::::::::::: 35 2.3.8 Device URL Syntax::::::::::::::::::::::::::::::::::::::: 39 2.3.9 Bluetooth(R) options ::::::::::::::::::::::::::::::::::::: 42 2.3.10 TPM device options ::::::::::::::::::::::::::::::::::::: 42 2.3.11 Linux/Multiboot boot specific ::::::::::::::::::::::::::: 43 2.3.12 Debug/Expert options ::::::::::::::::::::::::::::::::::: 44 2.3.13 Generic object creation :::::::::::::::::::::::::::::::::: 52 2.4 Keys in the graphical frontends :::::::::::::::::::::::::::::::: 58 2.5 Keys in the character backend multiplexer ::::::::::::::::::::: 58 2.6 QEMU Monitor ::::::::::::::::::::::::::::::::::::::::::::::: 59 2.6.1 Commands :::::::::::::::::::::::::::::::::::::::::::::::
    [Show full text]
  • DOSEMU and Freedos: Past, Present and Future
    DOSEMU and FreeDOS: past, present and future Bart Oldeman <[email protected]> Maintained DOSEMU (2001-2013) Maintained the FreeDOS kernel and FreeDOS’ MEM utility (2000-2004). FreeDOS slides based on those from FreeDOS project coordinator Jim Hall <[email protected]> https://upload.wikimedia.org/wikipedia/commons/b/b7/Commodore_PC20.jpg Commodore PC-20 III (1990) image: https://flic.kr/p/74CmCF (CC ShareAlike) Microsoft MS-DOS DOSEMU Originally: using the Linux vm86() syscall to run DOS and DOS programs in a lightweight virtual machine ● Sept 3, 1992: Matthias Lautner (Linux was only a little over 1 year old.) Version 0.1: “DOS EMULATOR for LINUX 0.97 pl2 This is a pre alpha version. This means there are some bugs and lots of things aren't implemented such as screen attributes, some video interrupts, some other bios calls, any port io, …” ● 1993: Robert Sanders (0.47-0.49) ● 1993-1997: James MacLean (0.49pl2-0.64.3) ○ DOS Protected Mode Interface (DPMI) support using modify_ldt() syscall added early 1994. ● 1997-2001: Hans Lermen (0.64.4-1.1.1) ● 2001-2013: Bart Oldeman ● DOSEMU2: 2013- Stas Sergeev This is the dumb terminal mode; S-Lang (terminal), SDL, and X outputs are available. SimCity 2000 Running Win3.1 Netscape with network (T.P. Reitzel) DOSEMU’s other uses Asked around on mailing list and github and received the following replies: ● Running very old specialized cross compilers, all setup with wrappers so from the user’s point of view they are just Linux programs. ● A yearly ephemeris for astrologers with a QuickBasic IDE.
    [Show full text]
  • Disentangling of Spectra-Theory and Practice
    Disentangling of spectra – theory and practice P. Hadrava, Astronomical Institute, Academy of Sciences of the Czech Republic, Boˇcn´ıII 1401, 141 31 Praha 4, Czech Republic e-mail: [email protected] http://www.asu.cas.cz/˜had/korel.html Release September 19, 2008 modified August 31, 2009 arXiv:0909.0172v2 [astro-ph.SR] 2 Sep 2009 Abstract In this document a review of the author’s method of Fourier disentangling of spectra of binary and multiple stars is presented for the purpose of the summer school organized at Ondˇrejov observatory in September 2008. Related methods are also discussed and some practical hints for the use of the author’s code KOREL and related auxiliary codes with examples are given. keywords: Spectroscopic binaries and multiple stars – orbital elements – line profiles – spectra disentangling Contents Introduction...................................... 3 1 Theory of spectra disentangling 7 1.1 Aswiftentryintothetheory.......................... 7 1.2 Backgroundthoughts.............................. 10 1.3 Methods of radial-velocity measurements . .. 14 1.3.1 Methodofcross-correlation . 14 1.3.2 Methodofbroadeningfunction . 17 1.4 Methodsofdecompositionofspectra . 18 1.4.1 Directsubtraction ........................... 18 1.4.2 Iterativesubtraction . .. .. 19 1.4.3 Methodoftomographicseparation . 20 1.5 Method of wavelength-domain disentangling of spectra . .... 23 1.6 Fourier disentangling and its generalizations . 25 1.6.1 Principle of Fourier disentangling . 25 1.6.2 Simple Fourier disentangling . 27 1.6.3 Line-strength variations and removal of telluric lines . 29 1.6.4 Linephotometry ............................ 32 1.6.5 Disentangling with intrinsic line-profile variations . 35 1.6.6 Broadeningbypulsations. 37 1.6.7 Rotational (Schlesinger – Rossiter – McLaughlin) effect .
    [Show full text]
  • Virtualizing the CIC Floppy Disk Project: an Experiment in Preservation Using Emulation Geoffrey Brown Indiana University Department of Computer Science
    Virtualizing the CIC Floppy Disk Project: An Experiment in PreservaTion Using Emulation Geoffrey Brown Indiana University Department of Computer Science Issues We are Trying To Solve Documents in FDP (for example) require obsolete applications and operating systems Installing documents to access them requires specialized expertise These problems generalize to SUDOC documents on CD-ROM 3 7.8"3&8)*5&1"1&3 7JSUVBMJ[BUJPO0WFSWJFX *OUSPEVDUJPO 7JSUVBMJ[BUJPOJOB/VUTIFMM "NPOHUIFMFBEJOHCVTJOFTTDIBMMFOHFTDPOGSPOUJOH$*0TBOE 4JNQMZQVU WJSUVBMJ[BUJPOJTBOJEFBXIPTFUJNFIBTDPNF *5NBOBHFSTUPEBZBSFDPTUFGGFDUJWFVUJMJ[BUJPOPG*5JOGSBTUSVD 5IFUFSNWJSUVBMJ[BUJPOCSPBEMZEFTDSJCFTUIFTFQBSBUJPOPGB UVSFSFTQPOTJWFOFTTJOTVQQPSUJOHOFXCVTJOFTTJOJUJBUJWFT SFTPVSDFPSSFRVFTUGPSBTFSWJDFGSPNUIFVOEFSMZJOHQIZTJDBM BOEGMFYJCJMJUZJOBEBQUJOHUPPSHBOJ[BUJPOBMDIBOHFT%SJWJOH EFMJWFSZPGUIBUTFSWJDF8JUIWJSUVBMNFNPSZ GPSFYBNQMF BOBEEJUJPOBMTFOTFPGVSHFODZJTUIFDPOUJOVFEDMJNBUFPG*5 DPNQVUFSTPGUXBSFHBJOTBDDFTTUPNPSFNFNPSZUIBOJT CVEHFUDPOTUSBJOUTBOENPSFTUSJOHFOUSFHVMBUPSZSFRVJSFNFOUT QIZTJDBMMZJOTUBMMFE WJBUIFCBDLHSPVOETXBQQJOHPGEBUBUP 7JSUVBMJ[BUJPOJTBGVOEBNFOUBMUFDIOPMPHJDBMJOOPWBUJPOUIBU EJTLTUPSBHF4JNJMBSMZ WJSUVBMJ[BUJPOUFDIOJRVFTDBOCFBQQMJFE BMMPXTTLJMMFE*5NBOBHFSTUPEFQMPZDSFBUJWFTPMVUJPOTUPTVDI UPPUIFS*5JOGSBTUSVDUVSFMBZFSTJODMVEJOHOFUXPSLT TUPSBHF CVTJOFTTDIBMMFOHFT MBQUPQPSTFSWFSIBSEXBSF PQFSBUJOHTZTUFNTBOEBQQMJDBUJPOT 5IJTCMFOEPGWJSUVBMJ[BUJPOUFDIOPMPHJFTPSWJSUVBMJOGSBTUSVD UVSFQSPWJEFTBMBZFSPGBCTUSBDUJPOCFUXFFODPNQVUJOH TUPSBHFBOEOFUXPSLJOHIBSEXBSF BOEUIFBQQMJDBUJPOTSVOOJOH
    [Show full text]
  • LINUX Virtualization
    LINUX Virtualization Running other code under LINUX Environment Virtualization • Citrix/MetaFrame – Virtual desktop under Windows NT. aka Windows Remote Desktop Protocol • VNC, Dameware – virtual console. • XWindows – virtual console • Mac OS RDP – same as Windows. • WUBI.EXE Hardware Emulation • IBM – Virtual Machine (VM) OS Also using code: • Processor virtualization • Instruction set virtualization. • Slow. Usually requires OS (re-)installation • Examples: KVM (uses QEMU), Solaris Domains, DOSBox, DOSEmu, WINE Processor Virtualization • “Native” or full virtualization: virtual machine that mediates between the guest operating systems and the native hardware. Certain protected instructions must be trapped and handled within the hypervisor because the underlying hardware isn't owned by an operating system but is instead shared by it through the hypervisor. • This form usually requires specially virtualization CPU processors (Intel, AMD) for performance. The only constraint is that the operating system must support the underlying hardware. Close to hardware-level performance. • The biggest advantage of full virtualization is that a guest OS can run unmodified. OS is usually “ported” to the hypervisor machine. VmWare, Microsoft HyperV. • Examples: VMWare. Processor Virtualization • Paravirtualization: uses a hypervisor for shared access to the underlying hardware but integrates virtualization-aware code into the operating system itself. Obviates the need for any recompilation or trapping because the operating systems themselves cooperate
    [Show full text]