QEMU Version 2.10.50 User Documentation I

Total Page:16

File Type:pdf, Size:1020Kb

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 ::::::::::::::::::::::::::::::::::::::::::::::: 59 2.6.2 Integer expressions:::::::::::::::::::::::::::::::::::::::: 70 2.7 Disk Images ::::::::::::::::::::::::::::::::::::::::::::::::::: 70 2.7.1 Quick start for disk image creation:::::::::::::::::::::::: 70 2.7.2 Snapshot mode ::::::::::::::::::::::::::::::::::::::::::: 71 2.7.3 VM snapshots :::::::::::::::::::::::::::::::::::::::::::: 71 2.7.4 qemu-img Invocation:::::::::::::::::::::::::::::::::::::: 71 2.7.5 qemu-nbd Invocation:::::::::::::::::::::::::::::::::::::: 81 2.7.6 Disk image file formats ::::::::::::::::::::::::::::::::::: 83 2.7.6.1 Read-only formats ::::::::::::::::::::::::::::::::::: 89 2.7.7 Using host drives ::::::::::::::::::::::::::::::::::::::::: 89 2.7.7.1 Linux:::::::::::::::::::::::::::::::::::::::::::::::: 89 2.7.7.2 Windows :::::::::::::::::::::::::::::::::::::::::::: 89 2.7.7.3 Mac OS X ::::::::::::::::::::::::::::::::::::::::::: 90 2.7.8 Virtual FAT disk images :::::::::::::::::::::::::::::::::: 90 2.7.9 NBD access :::::::::::::::::::::::::::::::::::::::::::::: 90 2.7.10 Sheepdog disk images:::::::::::::::::::::::::::::::::::: 91 2.7.11 iSCSI LUNs ::::::::::::::::::::::::::::::::::::::::::::: 91 2.7.12 GlusterFS disk images ::::::::::::::::::::::::::::::::::: 93 2.7.13 Secure Shell (ssh) disk images:::::::::::::::::::::::::::: 94 ii 2.8 Network emulation :::::::::::::::::::::::::::::::::::::::::::: 95 2.8.1 VLANs ::::::::::::::::::::::::::::::::::::::::::::::::::: 95 2.8.2 Using TAP network interfaces::::::::::::::::::::::::::::: 95 2.8.2.1 Linux host ::::::::::::::::::::::::::::::::::::::::::: 95 2.8.2.2 Windows host ::::::::::::::::::::::::::::::::::::::: 95 2.8.3 Using the user mode network stack:::::::::::::::::::::::: 96 2.8.4 Connecting VLANs between QEMU instances ::::::::::::: 96 2.9 Other Devices ::::::::::::::::::::::::::::::::::::::::::::::::: 96 2.9.1 Inter-VM Shared Memory device:::::::::::::::::::::::::: 96 2.9.1.1 Migration with ivshmem ::::::::::::::::::::::::::::: 97 2.9.1.2 ivshmem and hugepages:::::::::::::::::::::::::::::: 97 2.10 Direct Linux Boot :::::::::::::::::::::::::::::::::::::::::::: 97 2.11 USB emulation ::::::::::::::::::::::::::::::::::::::::::::::: 98 2.11.1 Connecting USB devices ::::::::::::::::::::::::::::::::: 98 2.11.2 Using host USB devices on a Linux host ::::::::::::::::: 99 2.12 VNC security ::::::::::::::::::::::::::::::::::::::::::::::: 100 2.12.1 Without passwords ::::::::::::::::::::::::::::::::::::: 100 2.12.2 With passwords :::::::::::::::::::::::::::::::::::::::: 100 2.12.3 With x509 certificates :::::::::::::::::::::::::::::::::: 100 2.12.4 With x509 certificates and client verification :::::::::::: 101 2.12.5 With x509 certificates, client verification and passwords :: 101 2.12.6 With SASL authentication:::::::::::::::::::::::::::::: 101 2.12.7 With x509 certificates and SASL authentication::::::::: 101 2.12.8 Generating certificates for VNC::::::::::::::::::::::::: 101 2.12.8.1 Setup the Certificate Authority :::::::::::::::::::: 101 2.12.8.2 Issuing server certificates :::::::::::::::::::::::::: 102 2.12.8.3 Issuing client certificates ::::::::::::::::::::::::::: 102 2.12.9 Configuring SASL mechanisms:::::::::::::::::::::::::: 103 2.13 GDB usage ::::::::::::::::::::::::::::::::::::::::::::::::: 104 2.14 Target OS specific information :::::::::::::::::::::::::::::: 105 2.14.1 Linux :::::::::::::::::::::::::::::::::::::::::::::::::: 105 2.14.2 Windows ::::::::::::::::::::::::::::::::::::::::::::::: 105 2.14.2.1 SVGA graphic modes support ::::::::::::::::::::: 105 2.14.2.2 CPU usage reduction :::::::::::::::::::::::::::::: 105 2.14.2.3 Windows 2000 disk full problem ::::::::::::::::::: 105 2.14.2.4 Windows 2000 shutdown::::::::::::::::::::::::::: 106 2.14.2.5 Share a directory between Unix and Windows :::::: 106 2.14.2.6 Windows XP security problem ::::::::::::::::::::: 106 2.14.3 MS-DOS and FreeDOS ::::::::::::::::::::::::::::::::: 106 2.14.3.1 CPU usage reduction :::::::::::::::::::::::::::::: 106 3 QEMU System emulator for non PC targets :: 107 3.1 PowerPC System emulator ::::::::::::::::::::::::::::::::::: 107 3.2 Sparc32 System emulator ::::::::::::::::::::::::::::::::::::: 108 3.3 Sparc64 System emulator ::::::::::::::::::::::::::::::::::::: 109 3.4 MIPS System emulator ::::::::::::::::::::::::::::::::::::::: 109 3.5 ARM System emulator ::::::::::::::::::::::::::::::::::::::: 110 3.6 ColdFire System emulator :::::::::::::::::::::::::::::::::::: 113 iii 3.7 Cris System emulator::::::::::::::::::::::::::::::::::::::::: 114 3.8 Microblaze System emulator :::::::::::::::::::::::::::::::::: 114 3.9 SH4 System emulator :::::::::::::::::::::::::::::::::::::::: 114 3.10 Xtensa System emulator::::::::::::::::::::::::::::::::::::: 114 4 QEMU Guest Agent invocation ::::::::::::: 115 5 QEMU User space emulator ::::::::::::::::: 117 5.1 Supported Operating Systems :::::::::::::::::::::::::::::::: 117 5.2 Features:::::::::::::::::::::::::::::::::::::::::::::::::::::: 117 5.3 Linux User space emulator:::::::::::::::::::::::::::::::::::: 117 5.3.1 Quick Start ::::::::::::::::::::::::::::::::::::::::::::: 117 5.3.2 Wine launch::::::::::::::::::::::::::::::::::::::::::::: 118 5.3.3 Command line options ::::::::::::::::::::::::::::::::::: 118 5.3.4 Other binaries ::::::::::::::::::::::::::::::::::::::::::: 119 5.4 BSD User space emulator::::::::::::::::::::::::::::::::::::: 120 5.4.1 BSD Status ::::::::::::::::::::::::::::::::::::::::::::: 120 5.4.2 Quick Start ::::::::::::::::::::::::::::::::::::::::::::: 120 5.4.3 Command line options ::::::::::::::::::::::::::::::::::: 120 Appendix A Implementation notes :::::::::::: 121 A.1 CPU emulation :::::::::::::::::::::::::::::::::::::::::::::: 121 A.1.1 x86 and x86-64 emulation ::::::::::::::::::::::::::::::: 121 A.1.2 ARM emulation::::::::::::::::::::::::::::::::::::::::: 121 A.1.3 MIPS emulation :::::::::::::::::::::::::::::::::::::::: 121 A.1.4 PowerPC emulation ::::::::::::::::::::::::::::::::::::: 121 A.1.5 Sparc32 and Sparc64 emulation ::::::::::::::::::::::::: 122 A.1.6 Xtensa emulation ::::::::::::::::::::::::::::::::::::::: 122 A.2 Translator Internals:::::::::::::::::::::::::::::::::::::::::: 122 A.3 QEMU compared to other emulators ::::::::::::::::::::::::: 124 A.4 Bibliography::::::::::::::::::::::::::::::::::::::::::::::::: 125 Appendix B Deprecated features :::::::::::::: 126 B.1 System emulator command line arguments ::::::::::::::::::: 126 B.1.1 -drive boot=on|off (since 1.3.0) ::::::::::::::::::::::::: 126 B.1.2 -tdf (since 1.3.0) :::::::::::::::::::::::::::::::::::::::: 126 B.1.3 -no-kvm-pit-reinjection (since 1.3.0) ::::::::::::::::::::: 126 B.1.4 -no-kvm-irqchip (since 1.3.0) :::::::::::::::::::::::::::: 126 B.1.5 -no-kvm-pit (since 1.3.0) :::::::::::::::::::::::::::::::: 126 B.1.6 -no-kvm (since 1.3.0) :::::::::::::::::::::::::::::::::::: 126 B.1.7 -mon default=on (since 2.4.0) ::::::::::::::::::::::::::: 126 B.1.8 -vnc tls (since 2.5.0)::::::::::::::::::::::::::::::::::::: 127 B.1.9 -vnc x509 (since 2.5.0) :::::::::::::::::::::::::::::::::: 127 B.1.10 -vnc x509verify (since 2.5.0) :::::::::::::::::::::::::::: 127 B.1.11 -tftp (since 2.6.0) :::::::::::::::::::::::::::::::::::::: 127 B.1.12 -bootp (since 2.6.0) :::::::::::::::::::::::::::::::::::: 127 iv B.1.13 -redir (since 2.6.0) ::::::::::::::::::::::::::::::::::::: 127 B.1.14 -smb (since 2.6.0) :::::::::::::::::::::::::::::::::::::: 127 B.1.15 -net channel (since 2.6.0)::::::::::::::::::::::::::::::: 127 B.1.16 -net vlan (since 2.9.0) :::::::::::::::::::::::::::::::::: 127 B.1.17 -drive if=scsi (since 2.9.0) :::::::::::::::::::::::::::::: 127 B.1.18 -net dump (since 2.10.0) ::::::::::::::::::::::::::::::: 128 B.1.19 -hdachs (since 2.10.0) :::::::::::::::::::::::::::::::::: 128 B.1.20 -usbdevice (since 2.10.0) ::::::::::::::::::::::::::::::: 128 B.2 qemu-img command line arguments :::::::::::::::::::::::::: 128 B.2.1 convert -s (since 2.0.0) :::::::::::::::::::::::::::::::::: 128 B.3 System emulator human monitor commands :::::::::::::::::: 128 B.3.1 host net
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]
  • Validated Products List, 1995 No. 3: Programming Languages, Database
    NISTIR 5693 (Supersedes NISTIR 5629) VALIDATED PRODUCTS LIST Volume 1 1995 No. 3 Programming Languages Database Language SQL Graphics POSIX Computer Security Judy B. Kailey Product Data - IGES Editor U.S. DEPARTMENT OF COMMERCE Technology Administration National Institute of Standards and Technology Computer Systems Laboratory Software Standards Validation Group Gaithersburg, MD 20899 July 1995 QC 100 NIST .056 NO. 5693 1995 NISTIR 5693 (Supersedes NISTIR 5629) VALIDATED PRODUCTS LIST Volume 1 1995 No. 3 Programming Languages Database Language SQL Graphics POSIX Computer Security Judy B. Kailey Product Data - IGES Editor U.S. DEPARTMENT OF COMMERCE Technology Administration National Institute of Standards and Technology Computer Systems Laboratory Software Standards Validation Group Gaithersburg, MD 20899 July 1995 (Supersedes April 1995 issue) U.S. DEPARTMENT OF COMMERCE Ronald H. Brown, Secretary TECHNOLOGY ADMINISTRATION Mary L. Good, Under Secretary for Technology NATIONAL INSTITUTE OF STANDARDS AND TECHNOLOGY Arati Prabhakar, Director FOREWORD The Validated Products List (VPL) identifies information technology products that have been tested for conformance to Federal Information Processing Standards (FIPS) in accordance with Computer Systems Laboratory (CSL) conformance testing procedures, and have a current validation certificate or registered test report. The VPL also contains information about the organizations, test methods and procedures that support the validation programs for the FIPS identified in this document. The VPL includes computer language processors for programming languages COBOL, Fortran, Ada, Pascal, C, M[UMPS], and database language SQL; computer graphic implementations for GKS, COM, PHIGS, and Raster Graphics; operating system implementations for POSIX; Open Systems Interconnection implementations; and computer security implementations for DES, MAC and Key Management.
    [Show full text]
  • Sun Ultratm 5 Workstation Just the Facts
    Sun UltraTM 5 Workstation Just the Facts Copyrights 1999 Sun Microsystems, Inc. All Rights Reserved. Sun, Sun Microsystems, the Sun logo, Ultra, PGX, PGX24, Solaris, Sun Enterprise, SunClient, UltraComputing, Catalyst, SunPCi, OpenWindows, PGX32, VIS, Java, JDK, XGL, XIL, Java 3D, SunVTS, ShowMe, ShowMe TV, SunForum, Java WorkShop, Java Studio, AnswerBook, AnswerBook2, Sun Enterprise SyMON, Solstice, Solstice AutoClient, ShowMe How, SunCD, SunCD 2Plus, Sun StorEdge, SunButtons, SunDials, SunMicrophone, SunFDDI, SunLink, SunHSI, SunATM, SLC, ELC, IPC, IPX, SunSpectrum, JavaStation, SunSpectrum Platinum, SunSpectrum Gold, SunSpectrum Silver, SunSpectrum Bronze, SunVIP, SunSolve, and SunSolve EarlyNotifier are trademarks, registered trademarks, or service marks of Sun Microsystems, Inc. in the United States and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the United States and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. UNIX is a registered trademark in the United States and other countries, exclusively licensed through X/Open Company, Ltd. OpenGL is a registered trademark of Silicon Graphics, Inc. Display PostScript and PostScript are trademarks of Adobe Systems, Incorporated, which may be registered in certain jurisdictions. Netscape is a trademark of Netscape Communications Corporation. DLT is claimed as a trademark of Quantum Corporation in the United States and other countries. Just the Facts May 1999 Positioning The Sun UltraTM 5 Workstation Figure 1. The Ultra 5 workstation The Sun UltraTM 5 workstation is an entry-level workstation based upon the 333- and 360-MHz UltraSPARCTM-IIi processors. The Ultra 5 is Sun’s lowest-priced workstation, designed to meet the needs of price-sensitive and volume-purchase customers in the personal workstation market without sacrificing performance.
    [Show full text]
  • Enhancing the Accuracy of Synthetic File System Benchmarks Salam Farhat Nova Southeastern University, [email protected]
    Nova Southeastern University NSUWorks CEC Theses and Dissertations College of Engineering and Computing 2017 Enhancing the Accuracy of Synthetic File System Benchmarks Salam Farhat Nova Southeastern University, [email protected] This document is a product of extensive research conducted at the Nova Southeastern University College of Engineering and Computing. For more information on research and degree programs at the NSU College of Engineering and Computing, please click here. Follow this and additional works at: https://nsuworks.nova.edu/gscis_etd Part of the Computer Sciences Commons Share Feedback About This Item NSUWorks Citation Salam Farhat. 2017. Enhancing the Accuracy of Synthetic File System Benchmarks. Doctoral dissertation. Nova Southeastern University. Retrieved from NSUWorks, College of Engineering and Computing. (1003) https://nsuworks.nova.edu/gscis_etd/1003. This Dissertation is brought to you by the College of Engineering and Computing at NSUWorks. It has been accepted for inclusion in CEC Theses and Dissertations by an authorized administrator of NSUWorks. For more information, please contact [email protected]. Enhancing the Accuracy of Synthetic File System Benchmarks by Salam Farhat A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor in Philosophy in Computer Science College of Engineering and Computing Nova Southeastern University 2017 We hereby certify that this dissertation, submitted by Salam Farhat, conforms to acceptable standards and is fully adequate in scope and quality to fulfill the dissertation requirements for the degree of Doctor of Philosophy. _____________________________________________ ________________ Gregory E. Simco, Ph.D. Date Chairperson of Dissertation Committee _____________________________________________ ________________ Sumitra Mukherjee, Ph.D. Date Dissertation Committee Member _____________________________________________ ________________ Francisco J.
    [Show full text]
  • SPARC/CPU-5V Technical Reference Manual
    SPARC/CPU-5V Technical Reference Manual P/N 203651 Edition 5.0 February 1998 FORCE COMPUTERS Inc./GmbH All Rights Reserved This document shall not be duplicated, nor its contents used for any purpose, unless express permission has been granted. Copyright by FORCE COMPUTERS CPU-5V Technical Reference Manual Table of Contents SECTION 1 INTRODUCTION ....................................................................................1 1. Getting Started ..................................................................................................................................... 1 1.1. The SPARC CPU-5V Technical Reference Manual Set.................................................................. 1 1.2. Summary of the SPARC CPU-5V ................................................................................................... 2 1.3. Specifications ................................................................................................................................... 4 1.3.1. Ordering Information........................................................................................................... 6 1.4. History of the Manual ...................................................................................................................... 9 SECTION 2 INSTALLATION ....................................................................................11 2. Introduction........................................................................................................................................ 11 2.1. Caution
    [Show full text]
  • System Administration
    System Administration Varian NMR Spectrometer Systems With VNMR 6.1C Software Pub. No. 01-999166-00, Rev. C0503 System Administration Varian NMR Spectrometer Systems With VNMR 6.1C Software Pub. No. 01-999166-00, Rev. C0503 Revision history: A0800 – Initial release for VNMR 6.1C A1001 – Corrected errors on pg 120, general edit B0202 – Updated AutoTest B0602 – Added additional Autotest sections including VNMRJ update B1002 – Updated Solaris patch information and revised section 21.7, Autotest C0503 – Add additional Autotest sections including cryogenic probes Applicability: Varian NMR spectrometer systems with Sun workstations running Solaris 2.x and VNMR 6.1C software By Rolf Kyburz ([email protected]) Varian International AG, Zug, Switzerland, and Gerald Simon ([email protected]) Varian GmbH, Darmstadt, Germany Additional contributions by Frits Vosman, Dan Iverson, Evan Williams, George Gray, Steve Cheatham Technical writer: Mike Miller Technical editor: Dan Steele Copyright 2001, 2002, 2003 by Varian, Inc., NMR Systems 3120 Hansen Way, Palo Alto, California 94304 1-800-356-4437 http://www.varianinc.com All rights reserved. Printed in the United States. The information in this document has been carefully checked and is believed to be entirely reliable. However, no responsibility is assumed for inaccuracies. Statements in this document are not intended to create any warranty, expressed or implied. Specifications and performance characteristics of the software described in this manual may be changed at any time without notice. Varian reserves the right to make changes in any products herein to improve reliability, function, or design. Varian does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under its patent rights nor the rights of others.
    [Show full text]
  • Virtfs—A Virtualization Aware File System Pass-Through
    VirtFS—A virtualization aware File System pass-through Venkateswararao Jujjuri Eric Van Hensbergen Anthony Liguori IBM Linux Technology Center IBM Research Austin IBM Linux Technology Center [email protected] [email protected] [email protected] Badari Pulavarty IBM Linux Technology Center [email protected] Abstract operations into block device operations and then again into host file system operations. This paper describes the design and implementation of In addition to performance improvements over a tradi- a paravirtualized file system interface for Linux in the tional virtual block device, exposing guest file system KVM environment. Today’s solution of sharing host activity to the hypervisor provides greater insight to the files on the guest through generic network file systems hypervisor about the workload the guest is running. This like NFS and CIFS suffer from major performance and allows the hypervisor to make more intelligent decisions feature deficiencies as these protocols are not designed with respect to I/O caching and creates new opportuni- or optimized for virtualization. To address the needs of ties for hypervisor-based services like de-duplification. the virtualization paradigm, in this paper we are intro- ducing a new paravirtualized file system called VirtFS. In Section 2 of this paper, we explore more details about This new file system is currently under development and the motivating factors for paravirtualizing the file sys- is being built using QEMU, KVM, VirtIO technologies tem layer. In Section 3, we introduce the VirtFS design and 9P2000.L protocol. including an overview of the 9P protocol, which VirtFS is based on, along with a set of extensions introduced for greater Linux guest compatibility.
    [Show full text]
  • An Introduction to Sysadmin Training in the Virtual Unix Lab
    EuroBSDCon 2004 Karlsruhe, Germany: An Introduction to Sysadmin Training in the Virtual Unix Lab Hubert Feyrer <[email protected]> October 31st, 2004 Abstract The Virtual Unix Lab (vulab) is an interactive course system which allows students to do Unix system administration exercises. Machines are installed on which students can do their assignments with full ”root”-access. At the end, the system checks which parts were done correctly, and gives a feedback on the exercise result. Access to the lab is via the Internet via a web-browser as well as standard Unix clients (ssh, telnet, ftp). Some detail on exercise-verification are outlined in this paper. Contents 1 Introduction & Background 2 2 The Virtual Unix Lab 2 3 A Tour trough the Virtual Unix Lab 2 3.1 User Area . 2 3.2 Admin Area . 11 3.3 Creating New Exercises . 18 4 Setup 28 4.1 Hardware . 28 4.2 Lab Machine Installation . 30 4.3 Restricting Access to Lab Machines . 31 4.4 Software . 31 5 Current Status 32 6 Future Perspectives 32 References 32 1 Introduction & Background A problem in teaching Unix system administration is the lack of machines available on which students can practice with full system administrator privileges. Without system ad- ministrator (root) privileges, many things cannot be practiced. On the other handside, when handing out root privileges, the lab machines are in an unknown state, requiring reinstalla- tion of the lab machines for future students to get a known safe & well-configured environ- ment. The Virtual Unix Lab was created to solve this problem.
    [Show full text]
  • Solaris Powerpc Edition: Installing Solaris Software—May 1996 What Is a Profile
    SolarisPowerPC Edition: Installing Solaris Software 2550 Garcia Avenue Mountain View, CA 94043 U.S.A. A Sun Microsystems, Inc. Business Copyright 1996 Sun Microsystems, Inc., 2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Portions of this product may be derived from the UNIX® system, licensed from Novell, Inc., and from the Berkeley 4.3 BSD system, licensed from the University of California. UNIX is a registered trademark in the United States and other countries and is exclusively licensed by X/Open Company Ltd. Third-party software, including font technology in this product, is protected by copyright and licensed from Sun’s suppliers. RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR 52.227-19. Sun, Sun Microsystems, the Sun logo, Solaris, Solstice, SunOS, OpenWindows, ONC, NFS, DeskSet are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the United States and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.
    [Show full text]
  • Virtio-Fs a Shared File System for Virtual Machines
    FOSDEM ‘20 virtio-fs A Shared File System for Virtual Machines Stefan Hajnoczi [email protected] 1 FOSDEM ‘20 About me I work in Red Hat’s virtualization team: virtio-fs virtio-blk tracing VIRTIO specification open source internships QEMU Linux https://vmsplice.net/ “stefanha” on IRC 2 FOSDEM ‘20 What is virtio-fs? Share a host directory with the guest ➔ Run container images from host but isolated inside a guest ➔ File System as a Service ➔ Compile on host, test inside guest ➔ Get files into guest at install time ➔ Boot guest from directory on host See KVM Forum talk for “what” and “why”: https://www.youtube.com/watch?v=969sXbNX01U 3 FOSDEM ‘20 How to use virtio-fs “I want to share /var/www with the guest” Not yet widely available in distros, but the proposed libvirt domain XML looks like this: <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs'/> <source dir='/var/www'/> <target dir='website'/> <!-- not treated as a path --> </filesystem> 4 FOSDEM ‘20 How to use virtio-fs (Part 2) Mount the directory inside the guest: guest# mount -t virtiofs website /var/www And away you go! 5 FOSDEM ‘20 Performance (with a grain of salt) Out-of-the-box performance on NVMe. Virtio-fs cache=none, no DAX. Linux 5.5.0-rc4 based virtio-fs-dev branch 6 FOSDEM ‘20 How do remote file systems work? Two ingredients: 1. A transport for communication TCP/IP, USB, RDMA 2. A protocol for file system operations NFS, CIFS, MTP, FTP Protocol Client Server Transport 7 FOSDEM ‘20 virtio-fs as a remote file system Protocol is based on Linux FUSE
    [Show full text]
  • Sun Type 5 Keyboard and Mouse Product Notes 800-6802-12
    I Sun Types Keyboard and Mouse Product Notes Including New Features and System Support +sun Sun Microsystems Computer Corporation 2550 Garcia Avenue Mountain View, CA 94043 U.S.A. Part No. 800-6802-12 Revision A, October 1993 © 1993 Sun Microsystems, Inc. 2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.A. All rights reserved. This product and related documentation are protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or related documentation may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Portions of this product may be derived from the UNIX® and Berkeley 4.3 BSD systems, licensed from UNIX System Laboratories, Inc. and the University of California, respectively. Third-party font software in this product is protected by copyright and licensed from Sun's Font Suppliers. RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the United States Government is subject to the restrictions set forth in DFARS 252.227-7013 (c)(l)(ii) and FAR 52.227-19. The product described in this manual may be protected by one or more U.S. patents, foreign patents, or pending applications. TRADEMARKS Sun, Sun Microsystems, Sun Microsystems Computer Corporation, the Sun logo, the SMCC logo, Sun OS, OpenBoot, Sun-4, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. UNIX and OPEN LOOK are registered trademarks of UNIX System Laboratories, Inc. All other product names mentioned herein are the trademarks of their respective owners. All SPARC trademarks, including the SCD Compliant Logo, are trademarks or registered trademarks of SPARC International, Inc.
    [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]