[Crossfire-wiki] [Crossfire DokuWiki] page added: user:kbulgrien

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Sep 2 11:53:41 CDT 2007


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2007/09/02 11:53
User        : 
Edit Summary: Experiment with writing a qemu crossfire test setup.

=======Mandriva qemu setup for Crossfire testing======

=====What packages are there?=====

  $ urpmq --fuzzy qemu\\
  [[user:kbulgrien#dkms-kqemu|dkms-kqemu]]\\
  [[user:kbulgrien#qemu|qemu]]\\
  [[user:kbulgrien#qemu-img|qemu-img]]\\
  [[user:kbulgrien#qemu-launcher|qemu-launcher]]\\

=====Installation=====

  $ sudo urpmi qemu dkms-kqemu qemu-img qemu-launcher\\
  To satisfy dependencies, the following packages are going to be installed:\\
  dkms-kqemu-1.3.0-0.pre11.3mdv2007.0.x86_64\\
  perl-Gtk2-GladeXML-1.005-1mdk.x86_64\\
  qemu-0.9.0-6mdv2007.0.x86_64\\
  qemu-img-0.9.0-6mdv2007.0.x86_64\\
  qemu-launcher-1.7.0-1mdv2007.0.noarch\\
  Proceed with the installation of the 5 packages? (11 MB) (Y/n) y\\
  ...
  installing qemu-launcher-1.7.0-1mdv2007.0.noarch.rpm perl-Gtk2-GladeXML-1.005-1mdk.x86_64.rpm dkms-kqemu-1.3.0-0.pre11.3mdv2007.0.x86_64.rpm
  qemu-0.9.0-6mdv2007.0.x86_64.rpm qemu-img-0.9.0-6mdv2007.0.x86_64.rpm from /var/cache/urpmi/rpms
  Preparing...                     #############################################
        1/5: qemu-img              #############################################
        2/5: dkms-kqemu            #############################################
  + /usr/sbin/dkms --rpm_safe_upgrade add -m kqemu -v 1.3.0pre11-3
  
  Creating symlink /var/lib/dkms/kqemu/1.3.0pre11-3/source ->
                   /usr/src/kqemu-1.3.0pre11-3
  
  DKMS: add Completed.
  + /usr/sbin/dkms --rpm_safe_upgrade build -m kqemu -v 1.3.0pre11-3
  
  Preparing kernel 2.6.17-14mdv for module build:
  (This is not compiling a kernel, just preparing kernel symbols)
  Storing current .config to be restored when complete
  Running Mandrakelinux style preparation routine
  make clean....(bad exit status: 2)
  using /proc/config.gz
  make oldconfig....(bad exit status: 2)
  running dkms_mkkerneldoth....
  
  Building module:
  cleaning build area....(bad exit status: 2)
  ./configure --kernel-path=/lib/modules/2.6.17-14mdv/source && make.......
  cleaning build area....
  
  DKMS: build Completed.
  + /usr/sbin/dkms --rpm_safe_upgrade install -m kqemu -v 1.3.0pre11-3
  Running module version sanity check.
  
  kqemu.ko.gz:
   - Original module
     - No original module exists within this kernel
   - Installation
     - Installing to /lib/modules/2.6.17-14mdv/kernel/3rdparty/kqemu/
  
  depmod.....
  
  DKMS: install Completed.
  + /sbin/modprobe kqemu
        3/5: perl-Gtk2-GladeXML    #############################################
        4/5: qemu-launcher         #############################################
        5/5: qemu                  #############################################
  $

=====Verification=====

  $ sudo lsmod | grep qemu
  kqemu                 163368  0

======qemu packages======

The following Mandriva packages are available via urpmi.

=====qemu=====
  
  QEMU is a FAST! processor emulator. By using dynamic translation it
  achieves a reasonnable speed while being easy to port on new host
  CPUs. QEMU has two operating modes:
     
  * User mode emulation. In this mode, QEMU can launch Linux processes
     compiled for one CPU on another CPU. Linux system calls are
     converted because of endianness and 32/64 bit mismatches. Wine
     (Windows emulation) and DOSEMU (DOS emulation) are the main targets
     for QEMU.
     
  * Full system emulation. In this mode, QEMU emulates a full system,
     including a processor and various peripherials. Currently, it is
     only used to launch an x86 Linux kernel on an x86 Linux system. It
     enables easier testing and debugging of system code. It can also be
     used to provide virtual hosting of several virtual PC on a single
     server.
     
     This QEMU package provides support for KQEMU, the QEMU Accelerator
     module.
     
  This QEMU package provides support for KVM (Kernel-based Virtual
  Machine), a full virtualization solution for Linux on x86 hardware
  containing virtualization extensions (AMD-v or Intel VT).
  
=====qemu-img=====
  
  This package contains the QEMU disk image utility that is used to
  create, commit, convert and get information from a disk image.
  
=====qemu-launcher=====
  
  A launcher for Qemu that manages Qemu configs and creates disk images
  Qemu-launcher provides a point and click interface to Qemu. It also
  allows you to create, save, load, and run multiple Qemu VM
  configurations. It has a basic interface for creating or convertering
  disk images.

=====dkms-kqemu=====

  QEMU Accelerator (KQEMU) is a driver allowing the QEMU PC emulator to
  run much faster when emulating a PC on an x86 host.
  
  Full virtualization mode can also be enabled (with -kernel-kqemu) for
  best performance. This mode only works with the following guest OSes:
  Linux 2.4, Linux 2.6, Windows 2000 and Windows XP. WARNING: for
  Windows 2000/XP, you cannot use it during installation.
  
  Use "qemu-system-x86_64" to benefit from the QEMU Accelerator Module.
  
======

IP-Address  : 66.137.82.229
Old Revision: none
New Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list