kvm: module verification failed: signature and/or required key missing – tainting kernel

Instead of re-configuring the kernel, this error (module verification failed) could be resolved by just adding one line CONFIG_MODULE_SIG=n to the top of the Makefile for the module itself: CONFIG_MODULE_SIG=n # If KERNELRELEASE is defined, we’ve been invoked from the # kernel build system and can use its language. ifneq ($(KERNELRELEASE),) obj-m := hello.o # … Read more

virt-manager guest resize not working

Make sure guest resizing is enabled in virt-manager: Menu View -> Scale Display -> Auto resize VM with window (Checked) Make sure your have a spice agent on your guest (the virtual machine) https://www.spice-space.org/download.html#guest ‘spice-vdagent’ on linux ‘spice-guest-tools’ on windows How I figured this out, I found a setting in “spicy” that I assumed had … Read more

Difference between KVM and LXC

Text from https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/7-Beta/html/Resource_Management_and_Linux_Containers_Guide/sec-Linux_Containers_Compared_to_KVM_Virtualization.html Copyright © 2014 Red Hat, Inc.: Linux Containers Compared to KVM Virtualization The main difference between the KVM virtualization and Linux Containers is that virtual machines require a separate kernel instance to run on, while containers can be deployed from the host operating system. This significantly reduces the complexity of container creation … Read more

Do x86 instructions require their own encoding as well as all of their arguments to be present in memory at the same time?

Yes, they do require the machine code and all memory operands. Shouldn’t the CPU access the memory pages sequentially, i.e. first read the instruction and then access the memory operand? Yes that’s logically what happens, but a page-fault exception interrupts that 2-step process and discards any progress. The CPU doesn’t have any way to remember … Read more

Should I choose KVM or OpenVZ for my VPS? [closed]

KVM does not provide anywhere near the performance of OpenVZ (or Virtuozzo, its commercial equivalent). It’s extremely important to note that KVM requires a running kernel inside the VPS, whereas OpenVZ runs containers using a shared kernel. This means that a 256MB KVM VPS does not actually have the same amount of memory available to … Read more

What’s the differences between Xen, QEMU and KVM?

QEMU is a powerful emulator, which means that it can emulate a variety of processor types. Xen uses QEMU for HVM guests, more specifically for the HVM guest’s device model. The Xen-specific QEMU is called qemu-dm (short for QEMU device model) QEMU uses emulation; KVM uses processor extensions (HVM) for virtualization. Both Xen and KVM … Read more

Android emulator and virtualbox cannot run at same time

Removing the kvm kernel modules (using ‘sudo rmmod kvm_intel kvm’) makes it possible to run the Virtualbox and the Android emulator at the same time but the performance of the Android emulator in such a setup is extremely bad. If possible it is better to shutdown the Virtualbox emulator and unload its driver (vboxdrv) by … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)