Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
29 views

Assign ethernet alias to KVM guest

I have a pool of IP addresses and a single ethernet cable. I have set aliases: auto enp2s0:0 iface enp2s0:0 inet static address x.x.x.x netmask x.x.x.x I want to dedicate some of the aliases to ...
-1
votes
0answers
7 views

How to share /home and \Users folders between Linux host and Windows 7 guest with kvm [migrated]

I have recently installed Windows 7 as a guest in a linux kvm virtual machine. I was wondering if there is a way to make the /home folder of the linux host and the \Users folder of the Windows guest ...
0
votes
0answers
26 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 \ --...
0
votes
0answers
12 views

Slow command output in KVM Debian 9 Guests

I’m running KVM node backed by 2 SATA disk in RAID1 ( HP P400 ). I did some disk benchmarks and got some reasonable results as per my knowledge. But there is small issue when issuing commands. Some ...
1
vote
1answer
27 views

What do the IDs of PCI devices refer to and which ones are relevent for setting up passthrough?

In setting up a domain with virsh, I had always assumed that the "slot" of a PCI card referred to which slot on the motherboard it was in. However, that seems not two be the case, cards in two ...
0
votes
0answers
11 views

Use a different public subnet on KVM virtual machines

The host at my datacenter owns a single IP that is bound to eth0: (Example values) auto eth0 iface eth0 inet static address 192.88.99.111 netmask 255.255.255.0 gateway 192.88.99.1 In addition ...
0
votes
0answers
17 views

debian 8 host with samba server filesharing doesn't work on KVM/qemu VM's over bridge mode

i have the problem, that my debian 8 server where a kvm/qemu and a samba server is running has the problem, that i cant connect from any VM to the fileshare folder. i can see the host over the network ...
0
votes
1answer
25 views

Routing Port 443 traffic from RedHat 7 host to multiple guest KVMs

I have a RedHat 7 server and a couple of Ubuntu KVMs. The guest vms are connected using NAT because we do not have any public IP addresses to spare at this moment. Is it possible to use iptables to ...
-1
votes
1answer
44 views

Can't access Apache installed on virtual machine (KVM) running Ubuntu 18.04

VPS: KVM (SolusVM), VM OS: Ubuntu 18.04, Network card: Virtio / Intel Pro 1000, I can ping VM IP 21X.XXX.XXX.XXX from my machine(at home). But cannot access Apache port 80 using 21X.XXX.XXX.XXX or ...
2
votes
1answer
62 views

should multiple threads be spun up by kvm/virtio-scsi on the host during IO workload

I am trying to pass-through a scsi lun to guest for best performance. What I am seeing on the host is that with iodepth=64 - 64 threads of qemu process are spun up for the VM. I believe this causes an ...
2
votes
0answers
42 views

How to fully emulate VM hardware?

How do I fully emulate, pass through, or spoof all the hardware for a virtual machine? I want to set up a few guest VMs in such a way that they do not have any special drivers or odd hardware info. ...
0
votes
0answers
12 views

Kvm guests cannot access internet

I have a kvm host and 4 kvm guests using default kvm nat networking. Using ip pool 192.168.100.0/24 for kvm guests. It seems that for some reason masquerading/or something else is not working properly ...
1
vote
0answers
27 views

Preventing LVM from accessing “low-level” devices of DRBD

Context: Active/passive DRBD setup. KVM VMs on LVM volumes. LVM using /dev/drbd0 for physical volume and volume group. During tests of the setup I have: Shut down Secondary node. Rebooted Primary ...
3
votes
2answers
173 views

Networking between KVM VM and docker container on same host

On a Debian-Stretch host (connected to physical LAN) I have a new docker installation (v18.09) with one database container (port mapped to the host) and I run KVM/libvirt with some Debian-Stretch VMs. ...
0
votes
1answer
54 views

Cannot boot Debian-9.6.0 in KVM: “640 x 480 Graphic mode”

I'm trying to get a disposable virtual machine on my private server. I've tried downloading a couple of Debian ISO files for 9.6.0, but I am unsuccessful in booting any of them. After trying kvm -m ...
0
votes
0answers
16 views

Macvtap not possible on Azure?

I know this is a bit of a niche topic. What I'm trying to do is to allow my KVM guest to have a dedicated NIC (eth1) to use for internet, while blocking internet via NSG (eth0) for the KVM host. In ...
0
votes
1answer
314 views

Apply Network Filter to Ovirt Guest without Rebooting

I am trying to change the clean-traffic IP address for a oVirt Guest VM. It works as long as I reboot the VM. ( Changed from within the Guest Virtual Machine Network Settings ) But for a production ...
0
votes
0answers
61 views

virt-install choice of graphics affects whether or not installed guest will boot after install

Please let me know if I am doing something incorrectly or if this is a bug. Host OS: Debian 9.6 Stretch amd64 Package: ii libvirt-daemon 3.0.0-4+deb9u3 ...
0
votes
0answers
35 views

Poor network performance on host machine using libvirtd / Qemu / KVM

We've got two Fedora 27 servers that we use to host several virtual servers using libvirtd / Qemu / KVM that are experiencing the same issue. When freshly booted, network performance is great, pings ...
1
vote
0answers
52 views

Static IPv4 in QEMU

I'm fairly new to QEMU and am attempting to provide static IP addresses to the network interfaces while bringing up the QEMU images via command line. The command is like below: qemu-system-x86_64 -...
0
votes
0answers
49 views

dmidecode uuid is different from Vmware esxi server

I have a query related to dmidecode uuid. In our product we are using dmidecode uuid try to match with ESXI vmware uuid of the same node. ESXI is providing the UUID as first three fields as big ...
0
votes
0answers
60 views

KVM Ubuntu Guest IPV6 DHCP does not work

I have a KVM server sitting on Debian server. Networking setup via macvtap/bridge device model rtl8139 I installed ubuntu server 18.10 w/o X. /etc/netplan/50-cloud-init.yaml network: version: 2 ...
0
votes
0answers
85 views

Assign Host LAN IP from Guest DHCP and get internet working

I am running sophos XG in a VM using kvm libvirt. I have a 4 port NIC (I350-t4) and 1 motherboard NIC. One of the 4 port NIC is PCI passthrough as the WAN interface (connected to modem). The other 3 ...
1
vote
2answers
36 views

libvirtd bridged networking, what iface is right to set IP?

Accodring to the documentation assigning of the IP addr it not mandatory for the BR interfaces. I have 2 netwok configuration set on libvirtd hadware node. Possibility one: 1. eth0 172.16.33.55/...
0
votes
1answer
42 views

How to delete a snapshot not seen with virsh but can be seen with qemu-img info?

[msingh@centos images]$ qemu-img info IE11-Win7-VMWare-disk1.qcow2 image: IE11-Win7-VMWare-disk1.qcow2 file format: qcow2 virtual size: 40G (42949672960 bytes) disk size: 82G cluster_size: 65536 ...
0
votes
1answer
121 views

Nested Virtualization KVM: entry failed, hardware error 0x7

I have a VM on a host and want to create another VM within the existing VM (nested). Host: opensuse Tumbleweed, kernel 4.19.7, 96 CPUS Intel-Xeon, 256GB RAM (nested virt enabled in kvm) L1 VM: ...
0
votes
1answer
72 views

how to set temporary backup location for vps in virtulizor?

i,m new to virtulizor and i have setup a ftp backup server. after a while i realized that you need to have enough empty space on your hard drives for virtulizor to be able to create a temporary backup ...
2
votes
1answer
154 views

macvtap libvirt guests have no network connectivity after server migration

I have two dedicated servers hosted by OVH, an SP-128 and an MG-512. The hardware is similar (they are both Supermicro-based builds) but the SP-128 has a Xeon E5 Ivy Bridge and 1 Gbps Ethernet; the MG-...
2
votes
2answers
92 views

How to specify a NIC number in virsh/kvm?

Hoping I can get some help here. I am using the virt-clone command to get an image of VyOS (open source linux router). The clone works fine but when I copy the image to another KVM host and install ...
1
vote
1answer
46 views

Enabling KVM nested virtualization for one guest without halting/rebooting all of them

I'd like to enable nested virtualization on KVM for at least one of my guests. I believe that this requires reloading the kvm_intel module passing it a nested=1 option. I cannot halt/reboot some ...
0
votes
0answers
24 views

QEMU crashed while trying to boot up i.MX6q device kernel

When tried to boot up Kernel uImage of an i.MX6q based embedded device, it seems that QEMU crashes with "Unable to handle kernel NULL pointer dereference at virtual address 00000044". Before crashing ...
0
votes
2answers
83 views

Linux Two network adapters with static IP addresses on GCE Linux instance

I want to make a VM hosted on Google Compute Engine to have 2 static IP addresses. For the purpose I created the VM having two network adapters (NICs) each of them allowing me to "pick" 1 static IP ...
1
vote
1answer
63 views

Prevent VM clock running faster than it should

I have a unRAID 6.6.5 server with perfectly correct time and multiple Linux VMs which used to be perfectly synced too. I rebooted one of my VM and suddenly the clock goes twice as fast as the hwclock. ...
0
votes
0answers
42 views

redirect all web trafic from network through proxy server to a specific URL

I have a network env, which has outgoing traffic using proxy only. I want to create some sort of "unproxying GW" for my specific internal network. I am okey to use any Linux based solution for this, ...
1
vote
1answer
45 views

Systemd - running custom VM shutdown script before the standard libvirt-guests.service

On a KVM host I have a few VMs with legacy OSes that do not listen to ACPI shutdown event. As it happens on Debian 9.5 host, on shutdown the libvirt-guests.service waits for 5 minutes for each such VM ...
2
votes
0answers
122 views

XP KVM stuck at “Booting from Hard Disk”

Just to see if it could be done (and if so, move other physical XP machines to VM environments), I took the hard drive out of a decommissioned laptop, captured a WIM of it, and applied it to a QCOW2 ...
1
vote
0answers
62 views

Q: Unable to create 'live' snapshot of running KVM using virsh

I was kindly directed to here, Serverfault from Stackoverflow to pose my question. I'm running the following command on a RHEL7 hypervisor to create a live backup (disc image) of a running kvm, ...
0
votes
1answer
47 views

different firewalld rich rule behavior in kvm host compared to kvm guests

I have a CentOS 7 KVM host with a single public IPv4, which is housing multiple guest OS's and acting as a firewall / gateway for guest network 192.168.1.0/24 / nat. I want to run a webserver of 1 ...
1
vote
0answers
87 views

KVM guest gets into paused state shortly after being started

I have two very similar x86_64 machines running the same kernel (4.7.8), and the same version of libvirt. The only difference between the two machines is the amount of memory they have, machine A has ...
1
vote
0answers
38 views

Confused about whether my iSCSI share is available/how to make it so

I am attempting to set up iSCSI with a virtual machine as the initiator and the host as the target. I was looking at these instructions, among others: https://www.tecmint.com/setup-iscsi-target-and-...
0
votes
1answer
43 views

Include cloudinit config to new VM

On my KVM hypervisor I would like to add a new VM with CentOS-7-x86_64-GenericCloud.qcow2 disk but with my custom cloudinit config to make sure that the new VM will start up with all users, correct ...
2
votes
0answers
150 views

Kernel panic when booting qemu virtual machine

I usually install template virtual machines on a dedicated server and then copy the disk to other production servers. It has worked for years and still works today in all cases but one. I have ...
-2
votes
1answer
58 views

Live migration without stopping source VM after migration

Is there any possible way to perform live migration using KVM/QEMU/libvirt without stopping source VM after migration? I want to make full consistent backup of VM under KVM hypervisor without stopping ...
-1
votes
1answer
35 views

In Public IaaS cloud, if my VM is given any available pCPU core, how sure am I that I get all the cores I pay for?

I am a new comer to virtualization! At least from what I know, in virtualization if I have a VM, the scheduler will give it any core available for processing in the physical CPU (pCPU) and it is also ...
1
vote
0answers
33 views

KVM VIrtual Network only allow ports 22

I have a KVM host with some VMs The Host has a SMB Share in it All the guest VMs need to connect to this SMB FileShare And i need it to be via virtual network (preverably KVM's 'default' virtual ...
0
votes
1answer
100 views

KVM: guest with FQDN DNS resolution / no bridge

I have a (Hetzner) server with a public IP of eg. 123.123.123.123, and an additional IP of eg. 456.456.456.456. I want to serve some private webspace apps on 123.123.123.123, including a hidden ...
0
votes
1answer
72 views

Disable or change port of dnsmasq service in libvirt

I'm using libvirt to manage my VMs, but I don't need the dnsmasq DNS server that gets automatically started with the service as it conflicts with my acme-dns setup. Is there a way to change disable ...
0
votes
1answer
106 views

Apparantly successful virt-install of Clear Linux cannot boot

First, I create a clear linux vm with virt-install virt-install \ --name CLEAR \ --ram 65536 \ --disk path=/guest_images/Linux_main/CLEAR.img,bus=virtio,size=450 \ --vcpus 8 \ --os-type linux \ --os-...
1
vote
0answers
26 views

KVM: Is it possible to detect guest disk was mounted RW?

Let's assume I have a KVM-based virtual machine. There is a volume that contains the operating system and the data. I know it is possible to access from host at least READ-ONLY the filesystem which ...
2
votes
1answer
23 views

Linux KVM if guest is rebooted it will not start, must be manually started

Have an Ubuntu server running KVM: Linux hyperv 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux It is running a few VMs which are linux, and one windows ...