1. 02 4月, 2011 1 次提交
    • D
      Implement hcall based RTAS for pSeries machines · 39ac8455
      David Gibson 提交于
      On pSeries machines, operating systems can instantiate "RTAS" (Run-Time
      Abstraction Services), a runtime component of the firmware which implements
      a number of low-level, infrequently used operations.  On logical partitions
      under a hypervisor, many of the RTAS functions require hypervisor
      privilege.  For simplicity, therefore, hypervisor systems typically
      implement the in-partition RTAS as just a tiny wrapper around a hypercall
      which actually implements the various RTAS functions.
      
      This patch implements such a hypercall based RTAS for our emulated pSeries
      machine.  A tiny in-partition "firmware" calls a new hypercall, which
      looks up available RTAS services in a table.
      Signed-off-by: NDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      39ac8455
  2. 22 3月, 2011 3 次提交
  3. 13 3月, 2011 1 次提交
  4. 07 3月, 2011 2 次提交
  5. 23 2月, 2011 1 次提交
  6. 21 2月, 2011 1 次提交
  7. 20 2月, 2011 1 次提交
    • A
      target-i386: set target_phys_bits to 64 · 71deff27
      Aurelien Jarno 提交于
      qemu i386 used to support more than 4GB of RAM through PAE, but it has
      been disabled for an unknown reason. Reenable it.
      
      Note that simply running qemu x86_64 and emulating a 32-bit CPU is not
      a solution to this problem as it is about 15% slower (it needs to
      emulate 64 bit registers even if half of them are not used). On the
      other hand, I haven't seen any measurable impact by switching
      target_phys_bits to 64.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      71deff27
  8. 17 2月, 2011 2 次提交
    • L
      linux-user: Define target alignment size · c2e3dee6
      Laurent Vivier 提交于
      Datatype alignment can be found using following application:
      
      int main(void)
      {
      	printf("alignof(short) %ld\n", __alignof__(short));
      	printf("alignof(int) %ld\n", __alignof__(int));
      	printf("alignof(long) %ld\n", __alignof__(long));
      	printf("alignof(long long) %ld\n", __alignof__(long long));
      }
      
      This patch includes following alignments:
      
      i386
      
         alignof(short) 2
         alignof(int) 4
         alignof(long) 4
         alignof(long long) 8
      
       x86_64
      
         alignof(short) 2
         alignof(int) 4
         alignof(long) 8
         alignof(long long) 8
      
       arm
      
         alignof(short) 2
         alignof(int) 4
         alignof(long) 4
         alignof(long long) 4
      
       m68k (680x0)
      
         alignof(short) 2
         alignof(int) 2
         alignof(long) 2
         alignof(long long) 2
      
       mips
      
         alignof(short) 2
         alignof(int) 4
         alignof(long) 4
         alignof(long long) 8
      
       ppc
      
         alignof(short) 2
         alignof(int) 4
         alignof(long) 4
         alignof(long long) 8
      
      for other targets, use by default (2,4,4,8).
      
      Please, update for your favorite target...
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      Signed-off-by: NRiku Voipio <riku.voipio@nokia.com>
      c2e3dee6
    • P
      linux-user: Support the epoll syscalls · 3b6edd16
      Peter Maydell 提交于
      Support the epoll family of syscalls: epoll_create(), epoll_create1(),
      epoll_ctl(), epoll_wait() and epoll_pwait(). Note that epoll_create1()
      and epoll_pwait() are later additions, so we have to test separately
      in configure for their presence.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NRiku Voipio <riku.voipio@nokia.com>
      3b6edd16
  9. 14 2月, 2011 1 次提交
    • J
      kvm: Fix race between timer signals and vcpu entry under !IOTHREAD · de758970
      Jan Kiszka 提交于
      Found by Stefan Hajnoczi: There is a race in kvm_cpu_exec between
      checking for exit_request on vcpu entry and timer signals arriving
      before KVM starts to catch them. Plug it by blocking both timer related
      signals also on !CONFIG_IOTHREAD and process those via signalfd.
      
      As this fix depends on real signalfd support (otherwise the timer
      signals only kick the compat helper thread, and the main thread hangs),
      we need to detect the invalid constellation and abort configure.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      CC: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      de758970
  10. 30 1月, 2011 1 次提交
  11. 24 1月, 2011 1 次提交
  12. 23 1月, 2011 1 次提交
  13. 22 1月, 2011 1 次提交
  14. 21 1月, 2011 1 次提交
  15. 15 1月, 2011 17 次提交
  16. 12 1月, 2011 1 次提交
  17. 07 1月, 2011 1 次提交
  18. 17 12月, 2010 1 次提交
  19. 14 12月, 2010 1 次提交
  20. 21 11月, 2010 1 次提交