1. 21 6月, 2011 3 次提交
    • J
      Switch build system to accompanied kernel headers · e205c790
      Jan Kiszka 提交于
      This helps reducing our build-time checks for feature support in the
      available Linux kernel headers. And it helps users that do not have
      sufficiently recent headers installed on their build machine.
      
      Consequently, the patch removes and build-time checks for kvm and vhost
      in configure, the --kerneldir switch, and KVM_CFLAGS. Kernel headers are
      supposed to be provided by QEMU only.
      
      s390 needs some extra love as it carries redefinitions from kernel
      headers.
      
      CC: Alexander Graf <agraf@suse.de>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      e205c790
    • J
      Import kernel headers · 51b24e34
      Jan Kiszka 提交于
      These kernel headers and the COPYING file were automatically imported
      from current Linux git, cb0a02ecf9 (post 3.0-rc2).
      
      Licensing:
      asm-powerpc	GPLv2
      asm-s390	GPLv2
      asm-x86		Linux top-level license (GPLv2 with exception)
      linux/kvm*:	Linux top-level license (GPLv2 with exception)
      linux/vhost:	Linux top-level license (GPLv2 with exception)
      linux/virtio*:	3-clause BSB
      
      CC: Alexander Graf <agraf@suse.de>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      51b24e34
    • J
      Add kernel header update script · 87fdd476
      Jan Kiszka 提交于
      This helper pulls the required kernel headers for KVM and vhost into a
      specified directory. The update is triggered via
      
          scripts/update-linux-headers.sh LINUX_PATH
      
      and will place the output under linux-headers/linux and linux-headers/asm-*.
      It also imports the COPYING to care for headers without an explicit license.
      
      CC: Alexander Graf <agraf@suse.de>
      CC: Christoph Hellwig <hch@lst.de>
      CC: Peter Maydell <peter.maydell@linaro.org>
      CC: Andreas Färber <andreas.faerber@web.de>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      87fdd476
  2. 19 6月, 2011 1 次提交
    • J
      kvm: x86: Save/restore FPU OP, IP and DP · 42cc8fa6
      Jan Kiszka 提交于
      These FPU states are properly maintained by KVM but not yet by TCG. So
      far we unconditionally set them to 0 in the guest which may cause
      state corruptions, though not with modern guests.
      
      To avoid breaking backward migration, use a conditional subsection that
      is only written if any of the three fields is non-zero. The guest's
      FNINIT clears them frequently, and cleared IA32_MISC_ENABLE MSR[2]
      reduces the probability of non-zero values further so that this
      subsection is not expected to restrict migration in any common scenario.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      42cc8fa6
  3. 15 6月, 2011 1 次提交
  4. 16 6月, 2011 4 次提交
  5. 15 6月, 2011 15 次提交
  6. 14 6月, 2011 16 次提交