LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-04-2015, 11:42 PM   #1
nishith
Member
 
Registered: Aug 2008
Posts: 148

Rep: Reputation: 15
Thumbs down Fedora 20 libvirt error.


Hello VGLUG,

I have installed "libvirtd" service in Fedora 20 PPC64 Architecture and everything is running well. I have successfully installed CentOS 6.3 64 bit Guest OS, but it gives very slow response. While verifying libvirtd status, below status message appears.

libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
Active: active (running) since Fri 2015-12-04 19:22:43 IST; 15h ago
Docs: man:libvirtd(8)
http://libvirt.org
Main PID: 10753 (libvirtd)
CGroup: /system.slice/libvirtd.service
├─ 2604 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
├─10753 /usr/sbin/libvirtd
└─28113 /usr/bin/qemu-system-sh4eb -S -no-user-config -nodefaults -nographic -M none -qmp unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,...

Dec 04 19:22:43 gjvatwb1.gipl.net systemd[1]: Started Virtualization daemon.
Dec 04 19:22:43 gjvatwb1.gipl.net libvirtd[10753]: libvirt version: 1.1.3.6, package: 1.fc20 (Fedora Project, 2014-10-15-23:18:18, ppc-builder8.qa...ect.org)
Dec 04 19:22:43 gjvatwb1.gipl.net libvirtd[10753]: Unable to lookup SELinux process context: Invalid argument
Dec 04 19:22:44 gjvatwb1.gipl.net dnsmasq[2604]: read /etc/hosts - 4 addresses
Dec 04 19:22:44 gjvatwb1.gipl.net dnsmasq[2604]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Dec 04 19:22:44 gjvatwb1.gipl.net dnsmasq-dhcp[2604]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Dec 04 19:22:44 gjvatwb1.gipl.net libvirtd[10753]: operation failed: Cannot find CPU model with PVR 0x003e0301
Dec 04 19:22:44 gjvatwb1.gipl.net libvirtd[10753]: Failed to get host CPU
Dec 04 19:23:53 gjvatwb1.gipl.net libvirtd[10753]: Unable to lookup SELinux process context: Invalid argument
Dec 05 03:48:26 gjvatwb1.gipl.net libvirtd[10753]: Unable to lookup SELinux process context: Invalid argument

Hint: Some lines were ellipsized, use -l to show in full.

Guest OS Contains 4 GB RAM and Dual Core CPU with 20 GB Hard Drive.

Other important information regarding "libvirt" is given below.

virsh # version
Compiled against library: libvirt 1.1.3
Using library: libvirt 1.1.3
Using API: QEMU 1.1.3
Running hypervisor: QEMU 1.6.2

virsh # sysinfo
<sysinfo type='smbios'>
<system>
<entry name='version'>CHRP IBM,8203-E4A</entry>
<entry name='serial'>IBM,8203-E4A</entry>
<entry name='family'>pSeries</entry>
</system>
<processor>
<entry name='socket_destination'>0</entry>
<entry name='type'>POWER6 (raw), altivec supported</entry>
<entry name='version'>3.1 (pvr 003e 0301)</entry>
</processor>

virsh # maxvcpus
16

virsh # nodecpumap
CPUs present: 8
CPUs online: 8
CPU map: yyyyyyyy

virsh # nodeinfo
CPU model: ppc64
CPU(s): 8
CPU frequency: 4204 MHz
CPU socket(s): 1
Core(s) per socket: 2
Thread(s) per core: 2
NUMA cell(s): 2
Memory size: 24053568 KiB

virsh # nodememstats
total : 24053568 KiB
free : 3544640 KiB
buffers: 322176 KiB
cached : 17492352 KiB

My concern is, why Guest OS is having very slow response. What did I miss in configuring libvirt module?

Expert advise is urgently needed.



Regards,
N.Vyas
 
Old 12-05-2015, 12:04 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The SELinux messages can be caused by not enabling SELinux on the host. Found here: https://www.redhat.com/archives/libv.../msg00322.html (this is for Red Hat, but perhaps it also fits your case). Might also slow down your VM.

Also, I don't think there is a PPC or PPC64 version of Centos (please correct me if I am wrong). Thus, CPU instructions must be emulated. Thus, it has to be slow.

By the way, why Centos 6.3? It's not supported anymore. Use Centos 6.7 instead.
 
Old 12-05-2015, 12:42 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
as above WHY fedora 20 and CentOS 6.3 ?
Both are UNSUPPORTED and will never get any security fixes
There have BEEN NO updates since JUNE for Fedora 20

Fedora 23 and CentOS 6.7 ( or 7.1) are the current

Quote:
My concern is, why Guest OS is having very slow response. What did I miss in configuring libvirt module?
unfortunately using "QEMU" will be a bit slow it only uses the CPU and NO GPU pass through
 
Old 12-05-2015, 01:44 AM   #4
nishith
Member
 
Registered: Aug 2008
Posts: 148

Original Poster
Rep: Reputation: 15
Does Fedora 23 for IBM Power Server (p520) is available? If yes, kindly provide link to download. In addition to this, let me know what are the alternatives of QEMU?

Can oVirt function properly?
 
Old 12-05-2015, 02:01 AM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by nishith View Post
Does Fedora 23 for IBM Power Server (p520) is available? If yes, kindly provide link to download. In addition to this, let me know what are the alternatives of QEMU?

Can oVirt function properly?
The latest Fedora for PPC seems to be Fedora 22: http://fedoraproject.org/wiki/Archit...se.2C_GPG_keys.

qemu functions properly. It's simply not possible to execute x86 instructions on a PPC processor. They have to be emulated - loosely speaking, several PPC instructions for a single x86 instruction. There is no other way.

oVirt is just a front-end. It can't do miracles.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 20 - Unable to connect libvirt nishith Fedora 3 02-06-2015 11:27 PM
[SOLVED] KVM / libvirt on Slack 14.1 64-bit - error on attempt to create new VM dguy Slackware 2 07-15-2014 05:37 AM
libvirt qemu/kvm on Debian Squeeze; serial port causes error in VM startup ordinary Linux - Virtualization and Cloud 0 10-03-2012 07:56 PM
LXer: Set up Libvirt 0.7.7&Xen 4.0 on top of Fedora 13 RC2 LXer Syndicated Linux News 0 05-18-2010 12:50 PM
LXer: Setup Libvirt 0.7.0-6 & Xen 3.4.1 Dom0 on top of Fedora 11 (64-bit) LXer Syndicated Linux News 0 08-20-2009 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration