Tag Info

Hot answers tagged

3

To change the state of the network link for a KVM guest it would be much better to use the appropriate tool, i.e. the hypervisor virsh domif-setlink domain interface-device state Modify link state of the domain’s virtual interface. Possible values for state are "up" and "down". If --config is specified, only the persistent configuration of the ...


2

Easy solution: connect with nc -U socket-file to your QEMU monitor, where socket-file is the path to monitor. How to find: ps -FA | grep qemu. You will find there at the command line. And run the command at the monitor: device_add usb-host,id=<ANY string>,hostbus=<BUS>,hostport=<PORT> this is pass-through by port number. You can pass ...


2

Your DNAT rule will route all TCP traffic, received by your KVM host, on port 25, to KVM guest, no matter the interface or destination. You should add either interface or destination IP (or both) in that DNAT: iptables -t nat -A PREROUTING -i your_pub_if -p TCP --dport 25 -j DNAT --to-destination 192.168.122.201:25 or iptables -t nat -A PREROUTING -d ...


1

Two options the way I see it: Use NFS as per other commenters - NFS seems to be the path of least resistance juggle disk assignment and use some orchestration tool with KVM you can do things like "hot-plug" disk etc. via: $ virsh attach-disk ... then inside VM that got this disk attached mount disk and do your backup umount disk inside VM on ...


1

I'd recommend that you get the second NIC on the physical host connected. Use one of them for "Management" purposes of the host itself, and the other for "VM traffic". They'll probably uplink to the same place, but this at least gives you access to the host even if something goes sideways with your VMs. Once you've got that configured, you can easily do ...


1

When you extend your virtual disk, you need to do couple of changes to be visible. First, if you have done an online resize, you need to rescan the device: for i in /sys/class/scsi_device/*; do echo 1 > $i/device/rescan ; done Now, you will see your block device with new size. After that, if you have partitioned your drive, you have to extend ...


1

To make shutdown work from outside the guest on CentOS 6, you need to install the acpid package and start the acpid service. yum install acpid chkconfig acpid on service acpid start


1

You don't need to do anything else. Go shutdown and start the VM.



Only top voted, non community-wiki answers of a minimum length are eligible