[opensuse-factory] How can we support better Virtualization in openSUSE ?
hi all ! I wrote an article about different types of Virtualization here: http://www.violtan.com/ae/virtualization.html This article describes 4 stages of Virtualization: Emulation, Full Virtualization, Para-Virtualization and OS-level Virtualization. I believe that openSUSE must excel at all types of Virtualization. openSUSE did some progress in terms of Virtualization: namely we consider integrating VirtualBox into openSUSE. Until now openSUSE is too focused on Xen. Xen-centric approach is bad. We need a wide array of technologies in openSUSE. Qemu and DOSbox emulators are fortunately already included. openSUSE 10.3 kernel also support USB-FS (allows for using USB in guest VMs) , KVM (Qemu-accelerator) and VMI (kernel paravirtualization) each of these technologies improve Virtualization further. One thing we still lack is OS-level Virtualization: such as OpenVZ - this technology allows for partial virtualization at speeds unreachable for Xen. The most serious problem with bringing OpenVZ to openSUSE is: their project is too RedHat-centric. This is a serious issue, because all of their documentation, packages, utilities, templates and even source-code patches are RedHat-centric, and none of their software work on SUSE. I have failed to bring this technology to openSUSE. I hope there are SUSE developers around who can break their RedHat monopoly and bring this excellent technology to SUSE. Again: I vote for wide array of Virtualization solutions in openSUSE (instead of being Xen-centric). I have several more interesting ideas considering Virtualization, such as building a bridge between UnionFS and OpenVZ. Who are the people responsible for virtualization efforts in openSUSE ? -- -Alexey Eremenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Alexey Eremenko wrote:
hi all !
I wrote an article about different types of Virtualization here: http://www.violtan.com/ae/virtualization.html
This article describes 4 stages of Virtualization: Emulation, Full Virtualization, Para-Virtualization and OS-level Virtualization.
I believe that openSUSE must excel at all types of Virtualization.
Agreed, I've played with some of them. I've always found the concept interesting and very useful in the enterprise ever since we at Amdahl went down that road with full purpose back in the 1980's and stole a decent temporary advantage over IBM. VM was waning and IBM didn't see a future for Virtualization, they certainly never looked at doing it in hardware and it was several years before PR/SM saw the light of day.
openSUSE did some progress in terms of Virtualization: namely we consider integrating VirtualBox into openSUSE.
Just yesterday I tried building Virtualbox on x86_64, only to be greeted with the message that's it's not likely to work on 64-bit any time soon, so that is one serious drawback. I also thought that VMWare had gone opensource, I tested a number of their 6.0 Workstation Betas, now I find the 6.0 release is for purchase only, so I'll leave that for the Corporates with deep pockets.
Until now openSUSE is too focused on Xen. Xen-centric approach is bad. We need a wide array of technologies in openSUSE. Qemu and DOSbox emulators are fortunately already included. openSUSE 10.3 kernel also support USB-FS (allows for using USB in guest VMs) , KVM (Qemu-accelerator) and VMI (kernel paravirtualization) each of these technologies improve Virtualization further.
I only recently got a box capable of running KVM, modules kvm, kvm_amd and kqemu are loaded, but I haven't gone beyond that so far.
One thing we still lack is OS-level Virtualization: such as OpenVZ - this technology allows for partial virtualization at speeds unreachable for Xen.
The most serious problem with bringing OpenVZ to openSUSE is: their project is too RedHat-centric. This is a serious issue, because all of their documentation, packages, utilities, templates and even source-code patches are RedHat-centric, and none of their software work on SUSE. I have failed to bring this technology to openSUSE. I hope there are SUSE developers around who can break their RedHat monopoly and bring this excellent technology to SUSE.
They also lag way behind the latest kernel developments, we're heading to 2.6.22 while their latest is for 2.6.20.
Again: I vote for wide array of Virtualization solutions in openSUSE (instead of being Xen-centric).
I have several more interesting ideas considering Virtualization, such as building a bridge between UnionFS and OpenVZ.
Who are the people responsible for virtualization efforts in openSUSE ?
Good question, very little has been seen on the list and it has all been about Xen. Hopefully you have smoked a healthy discussion out into the open. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sunday 20 May 2007 12:40, Sid Boyce wrote:
Alexey Eremenko wrote:
hi all !
I wrote an article about different types of Virtualization here: http://www.violtan.com/ae/virtualization.html
This article describes 4 stages of Virtualization: Emulation, Full Virtualization, Para-Virtualization and OS-level Virtualization.
I believe that openSUSE must excel at all types of Virtualization.
Agreed, I've played with some of them. I've always found the concept interesting and very useful in the enterprise ever since we at Amdahl went down that road with full purpose back in the 1980's and stole a decent temporary advantage over IBM. VM was waning and IBM didn't see a future for Virtualization, they certainly never looked at doing it in hardware and it was several years before PR/SM saw the light of day.
openSUSE did some progress in terms of Virtualization: namely we consider integrating VirtualBox into openSUSE.
Just yesterday I tried building Virtualbox on x86_64, only to be greeted with the message that's it's not likely to work on 64-bit any time soon, so that is one serious drawback. I also thought that VMWare had gone opensource, I tested a number of their 6.0 Workstation Betas, now I find the 6.0 release is for purchase only, so I'll leave that for the Corporates with deep pockets.
Until now openSUSE is too focused on Xen. Xen-centric approach is bad. We need a wide array of technologies in openSUSE. Qemu and DOSbox emulators are fortunately already included. openSUSE 10.3 kernel also support USB-FS (allows for using USB in guest VMs) , KVM (Qemu-accelerator) and VMI (kernel paravirtualization) each of these technologies improve Virtualization further.
I only recently got a box capable of running KVM, modules kvm, kvm_amd and kqemu are loaded, but I haven't gone beyond that so far.
I also find the concept of virtualisation interesting in fact it was the justification for my getting a new box. I have 10.3 Alpha 4 installed so the kvm modules are there and I have read Alexey's article above but I haven't worked out how to go beyond that so far :-)
Who are the people responsible for virtualization efforts in openSUSE ?
Good question, very little has been seen on the list and it has all been about Xen. Hopefully you have smoked a healthy discussion out into the open.
I hope so too. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Keith Goggin wrote:
On Sunday 20 May 2007 12:40, Sid Boyce wrote:
Alexey Eremenko wrote:
hi all !
I wrote an article about different types of Virtualization here: http://www.violtan.com/ae/virtualization.html
This article describes 4 stages of Virtualization: Emulation, Full Virtualization, Para-Virtualization and OS-level Virtualization.
I believe that openSUSE must excel at all types of Virtualization. Agreed, I've played with some of them. I've always found the concept interesting and very useful in the enterprise ever since we at Amdahl went down that road with full purpose back in the 1980's and stole a decent temporary advantage over IBM. VM was waning and IBM didn't see a future for Virtualization, they certainly never looked at doing it in hardware and it was several years before PR/SM saw the light of day.
openSUSE did some progress in terms of Virtualization: namely we consider integrating VirtualBox into openSUSE. Just yesterday I tried building Virtualbox on x86_64, only to be greeted with the message that's it's not likely to work on 64-bit any time soon, so that is one serious drawback. I also thought that VMWare had gone opensource, I tested a number of their 6.0 Workstation Betas, now I find the 6.0 release is for purchase only, so I'll leave that for the Corporates with deep pockets.
Until now openSUSE is too focused on Xen. Xen-centric approach is bad. We need a wide array of technologies in openSUSE. Qemu and DOSbox emulators are fortunately already included. openSUSE 10.3 kernel also support USB-FS (allows for using USB in guest VMs) , KVM (Qemu-accelerator) and VMI (kernel paravirtualization) each of these technologies improve Virtualization further. I only recently got a box capable of running KVM, modules kvm, kvm_amd and kqemu are loaded, but I haven't gone beyond that so far.
I also find the concept of virtualisation interesting in fact it was the justification for my getting a new box. I have 10.3 Alpha 4 installed so the kvm modules are there and I have read Alexey's article above but I haven't worked out how to go beyond that so far :-)
Who are the people responsible for virtualization efforts in openSUSE ? Good question, very little has been seen on the list and it has all been about Xen. Hopefully you have smoked a healthy discussion out into the open.
I hope so too. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
That's also the reason I got a new box, as kvm reported no supported hardware found on the socket 939 64x2 box. I shall have a look later at using kvm, that's if I don't have to spend too much time trying to sort out Windows for a sister's friend - that darn Bill gates again. From what I've read it seems you can download a pre-built image and run "qemu -hda <image_file>", man qemu for options. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sun, 20 May 2007 16:33:07 +0100, Sid Boyce wrote:
That's also the reason I got a new box, as kvm reported no supported hardware found on the socket 939 64x2 box.
kvm needs a processor with hardware vitualisation support, a feature that socket 939 Athlon64 X2s lack and only the AM2 socket ones offer :( Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Philipp Thomas wrote:
On Sun, 20 May 2007 16:33:07 +0100, Sid Boyce wrote:
That's also the reason I got a new box, as kvm reported no supported hardware found on the socket 939 64x2 box.
kvm needs a processor with hardware vitualisation support, a feature that socket 939 Athlon64 X2s lack and only the AM2 socket ones offer :(
Philipp
I guessed that immediately I saw the "no supported hardware found" in dmesg. The names, sockets and designators of AMD processors can be quite baffling. Googling didn't associate a socket/CPU with hardware virtualisation, but it had to be the latest, AM2. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Mon, 21 May 2007 01:26:22 +0100, Sid Boyce wrote:
I guessed that immediately I saw the "no supported hardware found" in dmesg.
I thought so, since you said that you got yourself new hardware :) I just added it as info for others. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Sid Boyce wrote:
Keith Goggin wrote:
On Sunday 20 May 2007 12:40, Sid Boyce wrote:
Alexey Eremenko wrote:
hi all !
I wrote an article about different types of Virtualization here: http://www.violtan.com/ae/virtualization.html
This article describes 4 stages of Virtualization: Emulation, Full Virtualization, Para-Virtualization and OS-level Virtualization.
I believe that openSUSE must excel at all types of Virtualization. Agreed, I've played with some of them. I've always found the concept interesting and very useful in the enterprise ever since we at Amdahl went down that road with full purpose back in the 1980's and stole a decent temporary advantage over IBM. VM was waning and IBM didn't see a future for Virtualization, they certainly never looked at doing it in hardware and it was several years before PR/SM saw the light of day.
openSUSE did some progress in terms of Virtualization: namely we consider integrating VirtualBox into openSUSE. Just yesterday I tried building Virtualbox on x86_64, only to be greeted with the message that's it's not likely to work on 64-bit any time soon, so that is one serious drawback. I also thought that VMWare had gone opensource, I tested a number of their 6.0 Workstation Betas, now I find the 6.0 release is for purchase only, so I'll leave that for the Corporates with deep pockets.
Until now openSUSE is too focused on Xen. Xen-centric approach is bad. We need a wide array of technologies in openSUSE. Qemu and DOSbox emulators are fortunately already included. openSUSE 10.3 kernel also support USB-FS (allows for using USB in guest VMs) , KVM (Qemu-accelerator) and VMI (kernel paravirtualization) each of these technologies improve Virtualization further. I only recently got a box capable of running KVM, modules kvm, kvm_amd and kqemu are loaded, but I haven't gone beyond that so far.
I also find the concept of virtualisation interesting in fact it was the justification for my getting a new box. I have 10.3 Alpha 4 installed so the kvm modules are there and I have read Alexey's article above but I haven't worked out how to go beyond that so far :-)
Who are the people responsible for virtualization efforts in openSUSE ? Good question, very little has been seen on the list and it has all been about Xen. Hopefully you have smoked a healthy discussion out into the open.
I hope so too. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
That's also the reason I got a new box, as kvm reported no supported hardware found on the socket 939 64x2 box. I shall have a look later at using kvm, that's if I don't have to spend too much time trying to sort out Windows for a sister's friend - that darn Bill gates again. From what I've read it seems you can download a pre-built image and run "qemu -hda <image_file>", man qemu for options. Regards Sid.
I just got around to trying kvm. I created a 40 Gig HD (/dev/hda). # qemu-img create -f qcow /Mandriva.qcow 40G Next booted from the Mandriva DVD iso # qemu -cdrom /ISO/mandriva-linux-2007-spring-pwp-dvd-i586.iso -boot d /Mandriva.qcow Install proceeded in the usual way, partitioning /dev/hda, formatting the partitions, etc. through to online updates. Automic reboot failed so boot had to be done manually via "qemu /Mandriva.qcow", it even starts the virtualbox daemon. It's a bit slow loading KDE, the default qemu CPU reported as a P-II 3Ghz/128Meg memory, real CPU is AM2 6000+ with 4Gig memory. Next boot I shall try setting SMP and 1 Gig memory to see the difference. Better still, I shall try a 64-bit distro instead. On the XP2800+ box with 1 gig I have Virtualbox running freespire and kubuntu quite well. I'll have another go at installing the Digipup livecd with hamradio apps, I thought I'd successfully installed it the first time around, but found it was still only running as a livecd. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Are there any interested parties in OpenVZ ? I had very basic success, but it goes with a lot of problems. If there is someone to help me, we could integrate OpenVZ into openSUSE. -- -Alexey Eremenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Friday 25 May 2007 09:58, Sid Boyce wrote: Hi,
I just got around to trying kvm. I created a 40 Gig HD (/dev/hda). # qemu-img create -f qcow /Mandriva.qcow 40G
Next booted from the Mandriva DVD iso # qemu -cdrom /ISO/mandriva-linux-2007-spring-pwp-dvd-i586.iso -boot d /Mandriva.qcow
Install proceeded in the usual way, partitioning /dev/hda, formatting the partitions, etc. through to online updates. Automic reboot failed so boot had to be done manually via "qemu /Mandriva.qcow", it even starts the virtualbox daemon. It's a bit slow loading KDE, the default qemu CPU reported as a P-II 3Ghz/128Meg memory, real CPU is AM2 6000+ with 4Gig memory. Next boot I shall try setting SMP and 1 Gig memory to see the difference. Better still, I shall try a 64-bit distro instead.
I've just tried to do the same on 10.3a4 x86_x64. I created testvm.qcow (20GB) OK but then couldn't execute the next step.. # qemu -sda /home/kg/Desktop/openSUSE-10.3Alpha4-DVD-x86_64.iso -boot d qemu: invalid option -- '-sda' Note both my HDD and DVD-ROM (Burner) are SATA II devices. Does qemu support SATA for both HDD and CDROM? I've scanned both the qemu-doc.html and the qemu man page but couldn't see anything about SATA drives or cdroms. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Keith Goggin wrote: [...] I created testvm.qcow (20GB) OK but then couldn't execute the next step..
# qemu -sda /home/kg/Desktop/openSUSE-10.3Alpha4-DVD-x86_64.iso -boot d
qemu: invalid option -- '-sda'
Note both my HDD and DVD-ROM (Burner) are SATA II devices.
Does qemu support SATA for both HDD and CDROM?
No, qemu emulates only IDE (see "man qemu" for list of emulated devices), you have to use -hda option here... -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Tuesday 29 May 2007 20:45, Ladislav Slezak wrote:
Keith Goggin wrote: [...] I created testvm.qcow (20GB) OK but then couldn't execute the next step..
# qemu -sda /home/kg/Desktop/openSUSE-10.3Alpha4-DVD-x86_64.iso -boot d
qemu: invalid option -- '-sda'
Note both my HDD and DVD-ROM (Burner) are SATA II devices.
Does qemu support SATA for both HDD and CDROM?
No, qemu emulates only IDE (see "man qemu" for list of emulated devices), you have to use -hda option here...
Silly me I asked the wrong question again. I should have asked could qemu access my SATA hadrware. :-) Thanks anyway and the list may be interested to know I now have a litter of Puppies (5 x puppy-2.16) on my desktop and still have 116MB of free physical memory. ASUS M2A-VM, openSUSE10.3A4, 2GB DDR RAM, Sata2 HDD & Sata2 Burner. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Keith Goggin wrote:
On Tuesday 29 May 2007 20:45, Ladislav Slezak wrote:
Keith Goggin wrote: [...] I created testvm.qcow (20GB) OK but then couldn't execute the next step..
# qemu -sda /home/kg/Desktop/openSUSE-10.3Alpha4-DVD-x86_64.iso -boot d
qemu: invalid option -- '-sda'
Note both my HDD and DVD-ROM (Burner) are SATA II devices.
Does qemu support SATA for both HDD and CDROM? No, qemu emulates only IDE (see "man qemu" for list of emulated devices), you have to use -hda option here...
Silly me I asked the wrong question again. I should have asked could qemu access my SATA hadrware. :-)
As drives are emulated, you could try e.g "-cdrom /dev/sdc" to see if it it will use it as an emulated cdrom and on a mounted filesystem "qemu-img create -f <format> <mountpoint>/testvm.<format> <size>G", testvm.<format> file being the emulated hda. "man qemu" DESCRIPTION The QEMU PC System emulator simulates the following peripherals: - i440FX host PCI bridge and PIIX3 PCI to ISA bridge - Cirrus CLGD 5446 PCI VGA card or dummy VGA card with Bochs VESA extensions (hardware level, including all non standard modes). - PS/2 mouse and keyboard - 2 PCI IDE interfaces with hard disk and CD-ROM support - Floppy disk - NE2000 PCI network adapters - Serial ports - Creative SoundBlaster 16 sound card - ENSONIQ AudioPCI ES1370 sound card - Adlib(OPL2) - Yamaha YM3812 compatible chip - PCI UHCI USB controller and a virtual USB hub. SMP is supported with up to 255 CPUs. Note that adlib is only available when QEMU was configured with -enable-adlib QEMU uses the PC BIOS from the Bochs project and the Plex86/Bochs LGPL VGA BIOS.
Thanks anyway and the list may be interested to know I now have a litter of Puppies (5 x puppy-2.16) on my desktop and still have 116MB of free physical memory.
ASUS M2A-VM, openSUSE10.3A4, 2GB DDR RAM, Sata2 HDD & Sata2 Burner. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Thursday 31 May 2007 10:27, Sid Boyce wrote:
As drives are emulated, you could try e.g "-cdrom /dev/sdc" to see if it it will use it as an emulated cdrom and on a mounted filesystem
OK I now have 10.2GM i386 running in 10.3A4 X86_64 but it runs very slowly on an Athlon 64 X2 4800+ with 2GB DDR667 memory. Create disk image. $ qemu-img create -f qcow vdisk.img 10G Install Distro. Note I first copied the iso to the Desktop using K3B 'Only create image'. The -cdrom /path/to/Desktop worked presumably because it's a virtual cdrom???? $ qemu -hda vdisk.img -cdrom /path/to/distro.iso -boot d -m 384 Run Distro. $ qemu vdisk.img -m 384 However when I tried a virtual install of 10.3A4 X86_64 in 10.3A4 X86_64 I got $ qemu-system-x86_64 -hda vdisk.img -cdrom /path/to/distro.iso -boot d -m 384 could not open '/dev/kqemu' QEMU - acceleration layer not activated Kqemu is not available on the DVD and I could not find it in Factory?? On further reading of an article by M. Tim Jones at <www.ibm.com/developerworks/linux/library/l-linux-kvm> he says in part:- ------------------------------------------------------------------------- $ qemu-img create -f qcow vm-disk.img 4G With your virtual disk created, load the guest operating system into it. The following example assumes that the guest operating system is on a CD-ROM. In addition to populating the virtual disk with the CD-ROM ISO image, you must boot the image when it's done. $ kvm -no-acpi -m 384 -cdrom guestos.iso -hda vm-disk.img -boot d -------------------------------------------------------------------------- Now no such command exists in 10.3A4 which leads me to wonder was the 10.3A4 kernel compiled without KVM support???? --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
------------------------------------------------------------------------- $ qemu-img create -f qcow vm-disk.img 4G
With your virtual disk created, load the guest operating system into it. The following example assumes that the guest operating system is on a CD-ROM. In addition to populating the virtual disk with the CD-ROM ISO image, you must boot the image when it's done.
$ kvm -no-acpi -m 384 -cdrom guestos.iso -hda vm-disk.img -boot d --------------------------------------------------------------------------
Now no such command exists in 10.3A4 which leads me to wonder was the 10.3A4 kernel compiled without KVM support????
The kernel is built with kvm support. Just the userland tools seem to be missing. Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Marcus Meissner wrote:
------------------------------------------------------------------------- $ qemu-img create -f qcow vm-disk.img 4G
With your virtual disk created, load the guest operating system into it. The following example assumes that the guest operating system is on a CD-ROM. In addition to populating the virtual disk with the CD-ROM ISO image, you must boot the image when it's done.
$ kvm -no-acpi -m 384 -cdrom guestos.iso -hda vm-disk.img -boot d --------------------------------------------------------------------------
Now no such command exists in 10.3A4 which leads me to wonder was the 10.3A4 kernel compiled without KVM support????
The kernel is built with kvm support.
Just the userland tools seem to be missing.
Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
# lsmod|grep kvm kvm_amd 34068 0 kvm 80592 1 kvm_amd # lsmod|grep kq kqemu 178600 0 The above are the modules loaded, there is also kvm_intel for intel CPU's - all part of the kernel. The kqemu module is from kqemu-1.3.0pre11 from the qemu site, all the userland tools are from the qemu package from factory. # rpm -qi qemu Name : qemu Relocations: (not relocatable) Version : 0.9.0 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany Release : 28 Build Date: Fri 01 Jun 2007 02:07:18 BST Install Date: Fri 08 Jun 2007 07:53:31 BST Build Host: stravinsky.suse.de Group : System/Emulators/Other Source RPM: qemu-0.9.0-28.src.rpm Size : 23687693 License: BSD License and BSD-like, GNU General Public License (GPL) Signature : DSA/SHA1, Fri 01 Jun 2007 02:09:42 BST, Key ID a84edae89c800aca Packager : http://bugs.opensuse.org URL : http://fabrice.bellard.free.fr/qemu/ Summary : Universal CPU emulator Description : QEMU is an extremely well-performing CPU emulator that allows you to choose between simulating an entire system and running userspace binaries for different architectures under your native operating system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well as PC and PowerMac systems. Authors: -------- Fabrice Bellard <fabrice.bellard@free.fr> Distribution: openSUSE 10.3 (X86-64) "rpm -ql qemu" will show what's installed. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Keith Goggin wrote:
On Friday 25 May 2007 09:58, Sid Boyce wrote: Hi,
I just got around to trying kvm. I created a 40 Gig HD (/dev/hda). # qemu-img create -f qcow /Mandriva.qcow 40G
Next booted from the Mandriva DVD iso # qemu -cdrom /ISO/mandriva-linux-2007-spring-pwp-dvd-i586.iso -boot d /Mandriva.qcow
Install proceeded in the usual way, partitioning /dev/hda, formatting the partitions, etc. through to online updates. Automic reboot failed so boot had to be done manually via "qemu /Mandriva.qcow", it even starts the virtualbox daemon. It's a bit slow loading KDE, the default qemu CPU reported as a P-II 3Ghz/128Meg memory, real CPU is AM2 6000+ with 4Gig memory. Next boot I shall try setting SMP and 1 Gig memory to see the difference. Better still, I shall try a 64-bit distro instead.
I've just tried to do the same on 10.3a4 x86_x64.
I created testvm.qcow (20GB) OK but then couldn't execute the next step..
# qemu -sda /home/kg/Desktop/openSUSE-10.3Alpha4-DVD-x86_64.iso -boot d
qemu: invalid option -- '-sda'
Note both my HDD and DVD-ROM (Burner) are SATA II devices.
Does qemu support SATA for both HDD and CDROM? I've scanned both the qemu-doc.html and the qemu man page but couldn't see anything about SATA drives or cdroms. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
e.g:- # qemu-img create -f qcow testvm.qcow 20G # qemu -cdrom /home/kg/Desktop/openSUSE-10.3Alpha4-DVD-x86_64.iso -boot d testvm.qcow Boots the iso as a cdrom/DVD. After the install, the reboot fails, so you just do a manual boot on 64-bit "qemu-system-x86_64 testvm.qcow". "qemu testvm.qcow" will only give you a P-II CPU. I now run the Mandriva x86 distro on x86_64. # qemu-system-x86_64 /Mandriva.qcow -smp 2 -full-screen -usb& CTRL-ALT-F to get out/in full screen. "man qemu" for options. Note:- when you click in the VM it grabs the mouse and keyboard, CTRL-ALT to grab them back. I did have a problem installing 64-bit Mandriva, it didn't like a return value 0xffffffff somewhere, so I don't know if 64-bit 10.3 Alpha4 will install. I shall have to subscribe to the qemu mailing list and report the problem. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-05-20 at 03:40 +0100, Sid Boyce wrote:
I also thought that VMWare had gone opensource, I tested a number of their 6.0 Workstation Betas, now I find the 6.0 release is for purchase only, so I'll leave that for the Corporates with deep pockets.
The server version is free, at least free as beer, not fully sure about the rest (I think it is a mixture). I installed version 1.0.3-44356 this weekend. I'm not sure about the differences with the workstation version; I'm told it is slower. Then there is the "player" version, too. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGXVaGtTMYHG2NR9URAjKcAJkBn5XxdJoQZjEhETDCIeorPes8YACdF2Mq KB86Lj905r8csDbZFWDhl0g= =wk+U -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Sunday 2007-05-20 at 03:40 +0100, Sid Boyce wrote:
I also thought that VMWare had gone opensource, I tested a number of their 6.0 Workstation Betas, now I find the 6.0 release is for purchase only, so I'll leave that for the Corporates with deep pockets.
The server version is free, at least free as beer, not fully sure about the rest (I think it is a mixture). I installed version 1.0.3-44356 this weekend.
I'm not sure about the differences with the workstation version; I'm told it is slower. Then there is the "player" version, too.
- -- Cheers, Carlos E. R.
Thanks, I knew I had seen something. Just that I thought it was all of VMWare. I had been testing the Betas and when the final version came, shock horror, it costs. I'll download server. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (7)
-
Alexey Eremenko
-
Carlos E. R.
-
Keith Goggin
-
Ladislav Slezak
-
Marcus Meissner
-
Philipp Thomas
-
Sid Boyce