Virtualization

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

VIRTUALIZATION

EX NO : 6 DATE : 24.09.2012 AIM:

ALGORITHM:

Program & Output:


[fosslab@fosslabserver ~]$ rpm -qa|grep qemu qemu-user-0.13.0-0.7.rc1.fc14.i686 qemu-system-sh4-0.13.0-0.7.rc1.fc14.i686 qemu-system-ppc-0.13.0-0.7.rc1.fc14.i686 qemu-system-sparc-0.13.0-0.7.rc1.fc14.i686 qemu-img-0.13.0-0.7.rc1.fc14.i686 qemu-kvm-0.13.0-0.7.rc1.fc14.i686 qemu-common-0.13.0-0.7.rc1.fc14.i686 gpxe-roms-qemu-1.0.1-1.fc14.noarch kmod-kqemu-2.6.35.6-45.fc14.i686-1.4.0-0.2.pre1.fc14.17.i686 qemu-0.13.0-0.7.rc1.fc14.i686 qemu-system-cris-0.13.0-0.7.rc1.fc14.i686 qemu-system-m68k-0.13.0-0.7.rc1.fc14.i686 kmod-kqemu-2.6.35.6-45.fc14.i686.PAE-1.4.0-0.2.pre1.fc14.17.i686 akmod-kqemu-1.4.0-0.2.pre1.fc14.17.i686 qemu-system-mips-0.13.0-0.7.rc1.fc14.i686 kqemu-1.4.0-0.5.pre1.fc14.noarch qemu-system-x86-0.13.0-0.7.rc1.fc14.i686 qemu-system-arm-0.13.0-0.7.rc1.fc14.i686 == [fosslab@fosslabserver ~]$ rpm -qi qemu Name : qemu Relocations: (not relocatable) Version : 0.13.0 Vendor: Fedora Project Release : 0.7.rc1.fc14 Build Date: Wed 22 Sep 2010 03:44:54 AM IST Install Date: Sun 10 Jun 2012 09:10:14 PM IST Build Host: x86-09.phx2.fedoraproject.org Group : Development/Tools Source RPM: qemu-0.13.0-0.7.rc1.fc14.src.rpm Size :0 License: GPLv2+ and LGPLv2+ and BSD Signature : RSA/SHA256, Wed 22 Sep 2010 11:12:58 PM IST, Key ID 421caddb97a1071f Packager : Fedora Project URL : http://www.qemu.org/ Summary : QEMU is a FAST! processor emulator Description : QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. QEMU has two operating modes: * Full system emulation. In this mode, QEMU emulates a full system (for example a PC), including a processor and various peripherials. It can be used to launch different Operating Systems without rebooting the PC or to debug system code. * User mode emulation. In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU. As QEMU requires no host kernel patches to run, it is safe and easy to use. ==

$mkdir virtual [fosslab@fosslabserver virtual]$ pwd /home/fosslab/virtual [fosslab@fosslabserver virtual]$ mv /home/fosslab/Downloads/fdbasecd.iso . [fosslab@fosslabserver virtual]$ ls -l total 8140 -rw-rw-r-- 1 fosslab fosslab 8333312 Sep 22 16:05 fdbasecd.iso [fosslab@fosslabserver virtual]$ qemu-img create virtualdisk.img 100M Formatting 'virtualdisk.img', fmt=raw size=104857600 [fosslab@fosslabserver virtual]$ ls -l total 8140 -rw-rw-r-- 1 fosslab fosslab 8333312 Sep 22 16:05 fdbasecd.iso -rw-r--r-- 1 fosslab fosslab 104857600 Sep 22 16:10 virtualdisk.img [ ]

[fosslab@fosslabserver virtual]$ [fosslab@fosslabserver virtual]$ qemu -hda virtualdisk.img -cdrom fdbasecd.iso -boot d

Result:

You might also like