Questions tagged [kvm-virtualization]

KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko. KVM also requires a modified QEMU although work is underway to get the required changes upstream.

Filter by
Sorted by
Tagged with
0
votes
1answer
46 views
+100

KVM QEMU VMs with static IP loose network connectivity

I have a KVM/QEMU setup with both host & guest (VM) running Ubuntu 18.04 LTS with bridged networking. VMs are configured with static IP loose network connectivity randomly (there is no pattern). ...
1
vote
1answer
14 views

How to connect to VM on Qemu which uses -device option with fixed mac address?

I found a script that starts qemu with this option: -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \ how do I connect to this machine? I want to SSH into it. I tried seeing the IP ...
0
votes
0answers
16 views

Troubleshooting hosts and guests ping issue

I have 2 physical machines: host1 and host2, hosting KVM systems. Every system (host and guest) has its own IPv4, and is reachable from any computer or network. Although they are not connected I ...
-3
votes
0answers
16 views

Where to buy no oversold, no speed limit,GDPR compliance for CN2 GIA VPS? [closed]

Where to buy Chinatelecom Next Carrier Network Global Internet Access KVM VPS? (Where to buy no oversold, no speed limit, strict compliance GDPR Policy,Support cryptocurrency payments CN2 GIA VPS?) ...
0
votes
0answers
7 views

cannot create ubuntu gust using console --extra-args=“console=ttyS0” with virt-install

I have KVM on centos7. I can create centos guests no problem using the following command but when I use it for any ubunti iso it will not work virt-install -n ubuntu -r 2048 --os-variant=ubuntu19.04 ...
3
votes
2answers
1k views

Creating a virtual network for KVM guests spanning multiple host machines

I have 5 physical machines running Ubuntu 14.04, all of them are together in a network. These all have static IP addresses. Each of these machines has 1 to 4 virtual machines via KVM/QEMU running ...
0
votes
0answers
21 views

Why do some packets seem not to participate in connection tracking on my linux firewall?

I have a KVM host with a virtual pfSense that should NAT traffic from other virtual boxes behind the pfSense's public IP. The pfSense is connected to two bridges: vmbr0 is connecting it to the public ...
0
votes
0answers
6 views

CentOS 7.x KVM Only Access to NIC/Bridge/Bond

I am trying to set up a CentOS 7.x host with multiple KVM clients in the following way: NIC 1 (eth0, bond0, etc.) cannot be used by the host but can be used by multiple KVM clients NIC 2 (eth1, bond1,...
0
votes
1answer
207 views

How do I tell KVM to connect to a pfSense guest text terminal?

Intro I'm new to KVM. I'm preparing an instance of pfSense in KVM; running this gets me close but is not completely working: virt-install \ --name pfsense \ --os-variant freebsd11.2 \ --...
1
vote
1answer
36 views

Terraform Libvirt - How to use local qcow2 file in the hypervisor instead of cloud images?

It seems like the libvirt provider only takes pre-defined cloud images. I create my own base qcow2 image that is local to the hypervisor and wish to use it as source file with terraform libvirtd. Is ...
1
vote
0answers
66 views

How to pass boot parameters to the debian installer while using QEMU?

At https://wiki.debian.org/QEMU you can read to execute: qemu-system-x86_64 -hda debian.img -cdrom debian-testing-amd64-netinst.iso -boot d -m 512 to start a QEMU VM and install Debian on the ...
0
votes
1answer
1k views

Win7 KVM guest with Virtio network driver can't connect to network [closed]

I have a ubuntu 15 and KVM. I have an XP guest that appears to basically work. I then set up a Win7 64 bit guest. It would not connect to the LAN. Then I found out about virtio drivers. I ...
0
votes
0answers
10 views

Windows vps ram usage on server

When a Windows vps (6Gb ram) is created on a Kvm based CentOS 7 server, it blocks all the ram (6Gb) on server. Whereas it does not happens when creating Linux vps. Any ideas ?
1
vote
0answers
20 views

How can I enable 2D/3D Acceleration with QEMU?

I have a KVM Server running Virtualizor on CentOS 7.6 . When I try to enable 2d/3d acceleration I'm getting the below error message. There was an error while starting the new VPS error: Failed to ...
0
votes
1answer
17 views

How to enable virsh console on Centos Atomic host?

I've Installed Centos AtomicHost Os on KVM , I just want to enable virsh console on it ! Tried below method but its is not working. 1. Added console=tty0 on /etc/grub/defailt GRUB_CMDLINE_LINUX="...
0
votes
1answer
1k views

Remote Desktop to KVM Virtual Machine on Centos 7

I have a virtual machine created on centos7. I want to remote connect to it via another computer besides the host. I can not seem find how to access it. I have it set up with a username and password. ...
0
votes
1answer
74 views

How to configure VLANs along with Libvirt/KVM/QEMU and OVS?

I am using Debian 9 machine as a router with two interfaces: eth0 for WAN eth1 for LAN The eth1 has subinterfaces for multiple VLANs (eth1.10; eth1.20; eth1.30) and has trunk connection to managed ...
30
votes
7answers
98k views

Is there a way to run virt-manager on Windows?

We've been using KVM for almost a year strictly on CentOS 5.x as the KVM host, with Fedora and Ubuntu workstations accessing the KVM host and its guests using virt-manager, virt-viewer, and ssh. Is ...
1
vote
2answers
318 views

Migrating Hyper-V VM's to CentOS 6 [closed]

I have tried to search this around in google, but I haven't actually found anyone migrating from Hyper-V (Windows) to CentOS 6, only the other way around. So, I was wondering if there are any pointers ...
2
votes
1answer
1k views

virt-viewer slower than virt-manager when viewing

I've got a thin client server in which I have a few VM's for users under KVM which I manage through virt-manager. What I've noticed is if I start a VM guest on a thin client using the command 'virt-...
1
vote
2answers
2k views

How to create virtual networks by using libvirt?

I have installed qemu/kvm and have tried to create some virtual machines and network them together. What I would like to achieve is 2-3 virtual machines in their own private network (e.g. 10.0.0.0/24)...
0
votes
1answer
2k views

Ubuntu 17.04 virt-clone ERROR missing source information for device sdx

I am on Ubuntu 17.04 server using KVM I tried to clone a vm after stopping it... I actually could not do a shutdown, so I did a destroy. visrh destroy origVM Then I tried cloning using: virt-clone -...
1
vote
0answers
23 views

Debian 10 bonding + bridge noIPv4 for kvm guests

I've a big problem with my fresh Debian 10 Installation on my root server at home. I use 2 of the NICs connected to my switch as "bond0" and now I want to add a bridge "br0" for my kvm guests. I don't ...
6
votes
1answer
15k views

VT enabled in BIOS but KVM failed to detect

I Have Dell OPTIPLEX 755 machine with VT enabled in BIOS but when i trying to check using KVM i am getting following error I am missing something? root@nova-controller:~# kvm-ok INFO: /dev/kvm does ...
0
votes
1answer
16 views

qemu-system_x86-64 can you add a physical hard disk to a virtual machine without being root

As it is on the title I want to add a physical partition to my VM without having root privilege. Is it possible from Linux and how should I do this by using only qemu-system_x86-64 ??
0
votes
0answers
30 views

KVM Public Bridge with Static IP guests can't connect to internet

Both host & guests are Ubuntu 18.04 LTS and uses netplan for networking. I use the following design (i.e public bridge networking) KVM Host -> Bridge (br0) -> vnet0 -> Guest KVM Host: ...
0
votes
0answers
41 views

virt-install Couldn't find hvm kernel for Ubuntu tree

I'm trying to create a VM using KVM and virt-installer. When i use virt-install I get the following error: Starting install... Retrieving file .treeinfo... ...
0
votes
1answer
1k views

EL6/KVM guest dies with “pthread_create failed: Resource temporarily unavailable”

I've got a CentOS 6.5 x86-64 KVM server with a bunch of guest VMs of different breeds, mostly EL5 and EL6. However one and only one of them keeps crashing every couple of days with: pthread_create ...
1
vote
1answer
26 views

Use passthrough GPU in KVM/QEMMU and display in host OS in a window

I'm new to KVM/QEMMU. I have used virtual box to run Windows 10 in a virtual machine on my Arch host system (a laptop with both integrated and discrete GPUs). Being dissatisfied with the video ...
0
votes
1answer
47 views

Separate public ip addresses on host and guest with qemu-kvm

Is there some way to completely separate the networking between host and guest? I have a machine with one NIC, I can have multiple public IP addresses for that NIC. The machine runs a VM. One IP is ...
0
votes
0answers
60 views

KVM VMs automatically being assigned an IPv6 - centos

Currently I have KVM VM's on my node and I have ipv6 enabled. I want to assign ipv6's manually to the VMs however I am finding when I boot the VM up it seems to be getting an IPv6 assigned to it ...
0
votes
1answer
1k views

Using virt-builder to create image

I'm trying to automatically create cloud images using virt-builder. I am using the following command in Centos 7 and it keeps failing. Any idea behind the issue ? # virt-builder debian-9 -o /var/lib/...
1
vote
4answers
8k views

virt-install cannot use ISO file as location

I am using the following script to install a new Fedora Server virtual machine virt-install \ --name theta-1 \ --ram 8000 \ --disk path=/dev/vg/t1.img \ --vcpus 8 \ --os-type linux \ --os-variant ...
0
votes
1answer
25 views

OVirt 4.2 Lost Connection To Nodes

I'm using OVirt version 4.2.3.8-1.el7 connected to 2 IBM PureFlex servers with 10 nodes (5+5) in total. OVirt suddenly lost connection to all the nodes but the VMs in these nodes are working without ...
24
votes
4answers
36k views

free up not used space on a qcow2-image-file on kvm/qemu

we are using kvm/qemu with qcow2-images for our virtual machines. qcow2 has this nice feature where the image file only allocates the actually needed space by the virtual-machine. but how do i shrink ...
8
votes
2answers
514 views

QEMU - incorrect real disk size of a virtual drive

df and ls report different sizes on my host machine because of the difference between the allocated size and the amount of space that's actually used in the EXT4 filesystem. The problem is that both ...
12
votes
3answers
25k views

Is there any way to shrink qcow2 image without converting it raw?

Is there any way to shrink qcow2 image without converting it raw? I cannot convert it to raw because I don't have disk space enough for raw image.
0
votes
1answer
4k views

the file-system of kvm virtual machine went to read-only after live migration

I setup my kvm virtualization environment with GlusterFS, the topology as follows: KVM1 ---------- KVM2 --------------KVM3 |----------------------|-------------------------| -----------------------|...
1
vote
1answer
915 views

Inter-Guest Network in KVM without a Bridge

I would like to have a psuedo-wire between two guests in KVM. I cannot use a bridge of any type as the guest VMs are actually virtual switches themselves. Conceptually, it seems that a veth-pair is ...
0
votes
1answer
99 views

KVM, libvirt, and LVs inside LVs

I have a Debian server running KVM+libvirt. The VMs disks are LVs on the host. The trouble is that if I create LVs inside the guests, they are recursively detected on the host and that creates all ...
0
votes
1answer
1k views

add a cgroup controller into libvirt

libvirt by default has cgroup controllers of ["cpu", "devices", "memory", "blkio", "cpuacct"] as shown in qemu.conf. I want to add one more controller of net_cls. I tried to modify the config file to ...
0
votes
1answer
1k views

ping latency using vhost_net, macvtap and virtio

I have been testing network throughput and latency and I was wondering if my measurements are as expected. For the test, I used Fedora 17 for both host and guest, using kernel 3.5.2-3.fc17.86_64. ...
1
vote
3answers
5k views

Set startup order for KVM virtual machines via libvirt?

I have some server applications failing because their virtual machine starts up before the database virtual machines. Anyway to configure libvirt to start them up in a certain order and possible ...
9
votes
6answers
36k views

How to automatically start VM created by virt-manager?

I have created a virtual machine with virt-manager that runs on kvm/qemu. The machine works well when started through virt-manager. However, I would like to be able to start and stop the VM through ...
1
vote
1answer
90 views

Use Thin LVM Volume for KVM VM

I now we cannot use thin LVM volumes with libvirt. Is there any other alternative allowing use of LVM thin provisioning in KVM/QEMU virtual machines?
0
votes
0answers
19 views

KVM Guests with VLAN interface - limit host access

I am trying to create a KVM server with multiple VLANs for guests, however I only want the host to be routable from one of them. Using CentOS 8. I've currently got one physical NIC (eno1) which has ...
0
votes
0answers
17 views

Is there anyway possible to use a static ip with my host machine and still allow guest VMs to use DHCP?

Here's my case: I'm running 18.04 ubuntu and I have two guest VMs running on qemu/kvm. My machine has a single NIC. I'm using /etc/network/interfaces for this config. My current file looks like this: ...
2
votes
1answer
39 views

How to enable vIOMMU in virt-manager?

I am planning to perform nested virtualization with GPU device. I have guest Ubuntu OS running and I have mapped GPU to it by enabling intel_iommu on the host, and configuring NVIDIA PCI as vfio-pci ...
0
votes
0answers
27 views

qemu-system-x64_86 high CPU comsumption, much higher than the processes inside the guest

I have an Ubuntu 18.04 with several virtual machines running in it using kvm. Using top inside the VM it never goes CPU consumption over 30%, however, if I check the qemu-system-x86_64 processes in ...
0
votes
1answer
72 views

how libvirt cputune config goes to qemu-kvm

I am porting xml libvirt config to qemu executable arguments. Simply I have .xml vm config from virsh edit vm-name and I want to run the same vm machine by executing qemu-system-x86_64 with special ...

1
2 3 4 5
41