Page 1 of 1

Installation of CentOS 7.0 on KVM/libvirtd

Posted: 2014/07/08 19:18:30
by cultavix
Hi,

CentOS 7.0 fails to boot at all on QEMU/KVM - LIBVIRT, latest version available on CentOS 6.5.

I've tried both RHEL 6 settings and the Fedora 18 settings.

Re: Installation of CentOS 7.0 on KVM/libvirtd

Posted: 2014/07/08 21:49:14
by WhatsHisName
When the KVM setup ask for OS, select "Other" and you should then get EL7 as an option.

Have not tried centos 7 yet, but I have several RHEL 7 VMs running under EL6 KVM without issues.

Re: Installation of CentOS 7.0 on KVM/libvirtd

Posted: 2014/07/09 05:06:51
by drk
select "Other" and you should then get EL7 as an option
I just tried CentOS7 with the RHEL7 setting and it installed, booted, updated fine. Even copy+paste between host & guest is working :)

Re: Installation of CentOS 7.0 on KVM/libvirtd

Posted: 2014/07/09 14:21:01
by sbungay
Those running 7 in KVM/Libvirtd, what GUI? As I understand it Gnome 3 needs hardware graphics acceleration (bad) and there is no mention of Mate support (also bad). We can't dedicate real-metal to testing what appears to be a radical change in O/S philosophy (do one thing and do it well (systemd) and clear text config files).

In this vein, the standard argument for systemd is to improve boot speed, in a server that argument holds no water as it is rebooted very infrequently. The flexibility of init.d, and the clarity of it's purpose and mission are very much missed. Other "improvements" like changing eth0 to em1 or (gawd forbid) elp1s01 has caused me more than enough grief.

Someone needs to sell me on these changes, as they are making life miserable for no perceived benefit.

Re: Installation of CentOS 7.0 on KVM/libvirtd

Posted: 2014/07/09 15:49:51
by WhatsHisName
You can use remote GUI access to run virt-manager on the server, such as FreeNX or x2go. The only "trick" is to open a GUI console on the remote server, "su -" to become root and then run virt-manager from command line.

FreeNX and x2go tend to be easy on server resources. I almost never sit in front of a server to use a GUI interface. YMMV

Re: Installation of CentOS 7.0 on KVM/libvirtd

Posted: 2014/07/09 16:16:26
by drk
I use QXL for the video card for the guest and Spice for the display protocol. With QXL you get better resolution options and you get the copy+paste to/from the guest/host.

Re: Installation of CentOS 7.0 on KVM/libvirtd

Posted: 2014/07/09 23:26:22
by beaver6675
What drk said +1

On a headless F20 KVM/libvirtd host, running RHEL7/C7 guests with "GNOME Desktop" and qxl/spice.

Access the guest GUI from another F20 desktop using
virt-manager qemu+ssh://xxxx@kvmhost/system or
virt-viewer qemu+ssh://...

It was surprisingly painless :D

Since I have been living with systemd since the F14/F15 days, it's not so bad.
I was slowly assimilated by systemd-borg.

Tip of the day:
systemctl enable getty@hvc0.service
systemctl start getty@hvc0.service
## Like!
## Easier than adding getty's to CentOS 6's upstart-like /etc/init/
The RHEL7 guests created by virt-manager default to virtio-console (instead of ttyS0) <-- that took me by surprise when I lost "virsh console guest"