Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103727
b: refs/heads/master
c: 588968b
h: refs/heads/master
i:
  103725: c4bc354
  103723: 9edba6d
  103719: 2f3e130
  103711: ee32b20
v: v3
  • Loading branch information
Laurent Vivier authored and Avi Kivity committed Jul 20, 2008
1 parent 4182398 commit 5647cad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 542472b53ea9e0add0ba23976018210191d84754
refs/heads/master: 588968b6b7d34e6a88f538d1db9aca47b203623e
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kvm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

EXTRA_CFLAGS += -Ivirt/kvm -Iarch/powerpc/kvm

common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o)
common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)

kvm-objs := $(common-objs) powerpc.o emulate.o booke_guest.o
obj-$(CONFIG_KVM) += kvm.o
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/kvm/powerpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ int kvm_dev_ioctl_check_extension(long ext)
case KVM_CAP_USER_MEMORY:
r = 1;
break;
case KVM_CAP_COALESCED_MMIO:
r = KVM_COALESCED_MMIO_PAGE_OFFSET;
break;
default:
r = 0;
break;
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-powerpc/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
/* memory slots that does not exposed to userspace */
#define KVM_PRIVATE_MEM_SLOTS 4

#define KVM_COALESCED_MMIO_PAGE_OFFSET 1

/* We don't currently support large pages. */
#define KVM_PAGES_PER_HPAGE (1<<31)

Expand Down

0 comments on commit 5647cad

Please sign in to comment.