<div dir="ltr">Hi Rich<br><div><div><br>I'm able to solve the problem regarding PAPR in libguestfs on my powerpc
ubuntu.By default the libguestfs was configuring pseries machine and
afterwards I changed it to my original machine i.e ppce500 .The changes
are performed in ./src/guestfs-internal.h file.<br><br></div><div>Thanks<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 10, 2014 at 7:58 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Wed, Jun 04, 2014 at 08:36:36PM +0530, abhishek jain wrote:<br>
> qemu: fatal: This KVM version does not support PAPR<br>
<br>
</div>I don't think I sent a reply to this email before, however the error<br>
above is obviously the problem. The solution is less obvious ...<br>
<br>
Here is the code. It seems to be checking a kernel capability which<br>
is missing on your (host) kernel:<br>
<br>
void kvmppc_set_papr(PowerPCCPU *cpu)<br>
{<br>
CPUState *cs = CPU(cpu);<br>
int ret;<br>
<br>
ret = kvm_vcpu_enable_cap(cs, KVM_CAP_PPC_PAPR, 0);<br>
if (ret) {<br>
cpu_abort(cs, "This KVM version does not support PAPR\n");<br>
}<br>
<br>
/* Update the capability flag so we sync the right information<br>
* with kvm */<br>
cap_papr = 1;<br>
}<br>
<br>
I suggest asking on one of the qemu mailing lists.<br>
<div class=""><br>
Rich.<br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
</div>virt-df lists disk usage of guests without needing to install any<br>
software inside the virtual machine. Supports Linux and Windows.<br>
<a href="http://people.redhat.com/~rjones/virt-df/" target="_blank">http://people.redhat.com/~rjones/virt-df/</a><br>
</blockquote></div><br></div>