BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Virt-Manager
- Subject: [Discuss] Virt-Manager
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- Date: Wed, 20 Oct 2021 22:34:58 -0400
- In-reply-to: <6a79e7a1-96ac-534b-d452-fbb4869bf1f2@sillydog.org>
- References: <99870ed0-deb6-e9df-dfac-de671104f7f2@sillydog.org> <20211019002040.5quarkwtehz3encq@randomstring.org> <0C871447-9574-4F97-9104-E739FD0562BC@sillydog.org> <c85d819c-941d-c4cb-e2ff-dbcb161d1f3a@sillydog.org> <14e4df7e5d376de10b408f20d493a608.squirrel@mail.mohawksoft.com> <98a80eb6-0c1d-25de-3c62-e60a83e39b1f@sillydog.org> <df07ba92bf322d07c91da914811a76d2.squirrel@mail.mohawksoft.com> <43679e86-fad1-c983-2684-881bf48c1aa6@sillydog.org> <bc9fc9310eeea39e253e2e34a0c6ea1f.squirrel@mail.mohawksoft.com> <c887be32-1af5-60c3-5487-386c123df2ea@sillydog.org> <d20815fb45282d9b89f6454cb059f25a.squirrel@mail.mohawksoft.com> <6a79e7a1-96ac-534b-d452-fbb4869bf1f2@sillydog.org>
Ubuntu is based on Debian. It may be version differences, who knows? Anyway, QEMU can emulate different processors, for instance, it can emulate the ARM processor for Android development, and, as you've experienced already, it is quite slow. The real benefit is using the x86_64 processor's ability to paravirtualize an environment by allowing native code to run in a protected virtual memory space where any instruction that exceeds its "protection" creates a trap to the hypervisor where the hypervisor can then emulate the instruction. Most code in this environment runs at native speed. Using the VirtIO stuff increases performance even better because the hypervisor isn't emulating physical hardware. There is a driver in your VM that calls into the hypervisor to do the I/O operation in the hypervisor. You can even use the emulator to do kernel development. You can use gdb with the emulator to step through kernel code. These days, I don't like to pollute my "work station" with all the various build tools. Its always a PITA to get multiple different environments to work along side each other. This is no longer an issue. Build for CentOS? Set up a centos VM. Build for Debian? Set up a Debian VM. Build for Windows? Set up a Windows VM. Different versions of an OS? Set up multiple VMs with different version. Need to test upgrade? Create VM of old version and practice upgrading it. Lately, I've been using ZFS for VM management. I have a ZRAID system and I create "zvols" (ZFS equivalent to LVM logical volumes) for each VM. Create them "sparse" and enable compression. I have even used the "snapshot" capability to test on VMs, take a snapshot, start up vm, test code that nukes VM, shut down VM, revert snapshot, start again. KVM/QEMU has completely changed how I do software development. I almost *never* run make in my "work station" environment. I am always compiling in a specific VM. Anyway, have fun. Virtualization is a little heavier than containers, but well worth getting to know better. > There isn't a package named /qemu-kvm/ in Debian. It was missing their > /qemu-system-x86/ package. > > It's now running in real-time, I'm seeing no delay. The image took only > 15 minutes to install this time. Better than an hour and a half.?? :-) > > > On 10/20/21 19:24, markw at mohawksoft.com wrote: >> Try this: >> sudo apt-get install qemu-kvm >> >> >>> Thanks. In Debian. that would be qemu-system-x86, so I installed that >>> with (again) virt-manager and the image is now running at almost >>> real-time. Not sure what else q-s-x86 added, but it looks like it might >>> work now. >>> >>> Upon launching virt-manager to create the vm after the q-s-x86 package, >>> the message re KVM not installed did not appear. >>> >>> >>> On 10/20/21 5:35 PM, markw at mohawksoft.com wrote: >>>> Try installing qemu packages > > _______________________________________________ > Discuss mailing list > Discuss at lists.blu.org > http://lists.blu.org/mailman/listinfo/discuss >
- References:
- [Discuss] Virt-Manager
- From: epp at sillydog.org (Edward)
- [Discuss] Virt-Manager
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Virt-Manager
- From: epp at sillydog.org (Edward)
- [Discuss] Virt-Manager
- From: epp at sillydog.org (Edward)
- [Discuss] Virt-Manager
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Virt-Manager
- From: epp at sillydog.org (Edward)
- [Discuss] Virt-Manager
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Virt-Manager
- From: epp at sillydog.org (Edward)
- [Discuss] Virt-Manager
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Virt-Manager
- From: epp at sillydog.org (Edward)
- [Discuss] Virt-Manager
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Virt-Manager
- From: epp at sillydog.org (Edward)
- [Discuss] Virt-Manager
- Prev by Date: [Discuss] Virt-Manager
- Next by Date: [Discuss] nfs in virtual machines
- Previous by thread: [Discuss] Virt-Manager
- Next by thread: [Discuss] Virt-Manager
- Index(es):