1. 31 12月, 2008 20 次提交
  2. 28 10月, 2008 1 次提交
  3. 15 10月, 2008 12 次提交
  4. 29 7月, 2008 2 次提交
  5. 25 7月, 2008 1 次提交
  6. 20 7月, 2008 4 次提交
    • A
      KVM: Adjust smp_call_function_mask() callers to new requirements · 597a5f55
      Avi Kivity 提交于
      smp_call_function_mask() now complains when called in a preemptible context;
      adjust its callers accordingly.
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      597a5f55
    • M
      KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction · 34d4cb8f
      Marcelo Tosatti 提交于
      Flush the shadow mmu before removing regions to avoid stale entries.
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      34d4cb8f
    • C
      KVM: s390: dont allocate dirty bitmap · eff0114a
      Carsten Otte 提交于
      This patch #ifdefs the bitmap array for dirty tracking. We don't have dirty
      tracking on s390 today, and we'd love to use our storage keys to store the
      dirty information for migration. Therefore, we won't need this array at all,
      and due to our limited amount of vmalloc space this limits the amount of guests
      we can run.
      Signed-off-by: NCarsten Otte <cotte@de.ibm.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      eff0114a
    • L
      KVM: Add coalesced MMIO support (common part) · 5f94c174
      Laurent Vivier 提交于
      This patch adds all needed structures to coalesce MMIOs.
      Until an architecture uses it, it is not compiled.
      
      Coalesced MMIO introduces two ioctl() to define where are the MMIO zones that
      can be coalesced:
      
      - KVM_REGISTER_COALESCED_MMIO registers a coalesced MMIO zone.
        It requests one parameter (struct kvm_coalesced_mmio_zone) which defines
        a memory area where MMIOs can be coalesced until the next switch to
        user space. The maximum number of MMIO zones is KVM_COALESCED_MMIO_ZONE_MAX.
      
      - KVM_UNREGISTER_COALESCED_MMIO cancels all registered zones inside
        the given bounds (bounds are also given by struct kvm_coalesced_mmio_zone).
      
      The userspace client can check kernel coalesced MMIO availability by asking
      ioctl(KVM_CHECK_EXTENSION) for the KVM_CAP_COALESCED_MMIO capability.
      The ioctl() call to KVM_CAP_COALESCED_MMIO will return 0 if not supported,
      or the page offset where will be stored the ring buffer.
      The page offset depends on the architecture.
      
      After an ioctl(KVM_RUN), the first page of the KVM memory mapped points to
      a kvm_run structure. The offset given by KVM_CAP_COALESCED_MMIO is
      an offset to the coalesced MMIO ring expressed in PAGE_SIZE relatively
      to the address of the start of th kvm_run structure. The MMIO ring buffer
      is defined by the structure kvm_coalesced_mmio_ring.
      
      [akio: fix oops during guest shutdown]
      Signed-off-by: NLaurent Vivier <Laurent.Vivier@bull.net>
      Signed-off-by: NAkio Takebe <takebe_akio@jp.fujitsu.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      5f94c174