[Libguestfs] libguestfs supermin error

abhishek jain ashujain9727 at gmail.com
Tue Jun 10 17:02:20 UTC 2014


Hi Rich

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.

Thanks


On Tue, Jun 10, 2014 at 7:58 PM, Richard W.M. Jones <rjones at redhat.com>
wrote:

> On Wed, Jun 04, 2014 at 08:36:36PM +0530, abhishek jain wrote:
> > qemu: fatal: This KVM version does not support PAPR
>
> I don't think I sent a reply to this email before, however the error
> above is obviously the problem.  The solution is less obvious ...
>
> Here is the code.  It seems to be checking a kernel capability which
> is missing on your (host) kernel:
>
> void kvmppc_set_papr(PowerPCCPU *cpu)
> {
>     CPUState *cs = CPU(cpu);
>     int ret;
>
>     ret = kvm_vcpu_enable_cap(cs, KVM_CAP_PPC_PAPR, 0);
>     if (ret) {
>         cpu_abort(cs, "This KVM version does not support PAPR\n");
>     }
>
>     /* Update the capability flag so we sync the right information
>      * with kvm */
>     cap_papr = 1;
> }
>
> I suggest asking on one of the qemu mailing lists.
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://people.redhat.com/~rjones/virt-df/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20140610/e1332470/attachment.htm>


More information about the Libguestfs mailing list