diff for duplicates of <4EE94D1D.1080306@ozlabs.org> diff --git a/a/1.txt b/N1/1.txt index d55c884..1a7ece2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -412,7 +412,7 @@ I'll make this 1024, to match the max sensible NR_CPUS in the PPC64 kernel >> + die_perror("KVM_GET_VCPU_MMAP_SIZE ioctl"); >> + >> + vcpu->kvm_run = mmap(NULL, mmap_size, PROT_RW, MAP_SHARED, vcpu->vcpu_fd, 0); ->> + if (vcpu->kvm_run = MAP_FAILED) +>> + if (vcpu->kvm_run == MAP_FAILED) >> + die("unable to mmap vcpu fd"); >> + >> + ioctl(vcpu->vcpu_fd, KVM_ENABLE_CAP, &papr_cap); diff --git a/a/content_digest b/N1/content_digest index 277bae9..2e04e40 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,8 +2,8 @@ "ref\01323759627-12752-2-git-send-email-matt@ozlabs.org\0" "ref\0746FE5E7-E14C-45DA-9039-DDA1B0782840@suse.de\0" "From\0Matt Evans <matt@ozlabs.org>\0" - "Subject\0Re: [PATCH V2 1/2] kvm tools: Add initial SPAPR PPC64 architecture\0" - "Date\0Thu, 15 Dec 2011 01:27:57 +0000\0" + "Subject\0Re: [PATCH V2 1/2] kvm tools: Add initial SPAPR PPC64 architecture support\0" + "Date\0Thu, 15 Dec 2011 12:27:57 +1100\0" "To\0Alexander Graf <agraf@suse.de>\0" "Cc\0kvm@vger.kernel.org <kvm@vger.kernel.org>" kvm-ppc@vger.kernel.org <kvm-ppc@vger.kernel.org> @@ -427,7 +427,7 @@ ">> + die_perror(\"KVM_GET_VCPU_MMAP_SIZE ioctl\");\n" ">> +\n" ">> + vcpu->kvm_run = mmap(NULL, mmap_size, PROT_RW, MAP_SHARED, vcpu->vcpu_fd, 0);\n" - ">> + if (vcpu->kvm_run = MAP_FAILED)\n" + ">> + if (vcpu->kvm_run == MAP_FAILED)\n" ">> + die(\"unable to mmap vcpu fd\");\n" ">> +\n" ">> + ioctl(vcpu->vcpu_fd, KVM_ENABLE_CAP, &papr_cap);\n" @@ -447,4 +447,4 @@ "\n" > [snip] -26f9bc8225ee6ededf7b7dbcd44f4050b27cf4cd4bb1d29f7bdbcfe9f43859c6 +e2ead5eddbf0a4b957f281ab3b60f46d86e855ac4a03bba7cdc2364727d39c34
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.