1. 07 9月, 2010 1 次提交
    • A
      PPC: Change PPC maintainer · 42a87658
      Alexander Graf 提交于
      Since nobody else seems interested in maintaining PPC, let's change the
      maintainer to myself. I keep a staging tree anyways and am probably the
      person touching most of that code these days.
      
      This changes the maintainer entry for working ppc targets to myself.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      42a87658
  2. 05 9月, 2010 3 次提交
    • A
      PPC: Make e500 pci byte swap config data · cfb207e6
      Alexander Graf 提交于
      The config data field on the e500 pci controller is in little endian, so we need
      to enable byte swap there.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      cfb207e6
    • A
      PPC: Qdev'ify e500 pci · 13b7fdef
      Alexander Graf 提交于
      The e500 PCI controller isn't qdev'ified yet. This leads to severe issues
      when running with -drive.
      
      To be able to use a virtio disk with an e500 VM, let's convert the PCI
      controller over to qdev.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      13b7fdef
    • A
      KVM: PPC: Add level based interrupt logic · fc87e185
      Alexander Graf 提交于
      KVM on PowerPC used to have completely broken interrupt logic. Usually,
      interrupts work by having a PIC that pulls a line up/down, so the CPU knows
      that an interrupt is active. This line stays active until some action is
      done to the PIC to release the line.
      
      On KVM for PPC, we just checked if there was an interrupt pending and pulled
      a line in the kernel module. We never released it though, hoping that kernel
      space would just declare an interrupt as released when injected - which is
      wrong.
      
      To fix this, we need to completely redesign the interrupt injection logic.
      Whenever an interrupt line gets triggered, we need to notify kernel space
      that the line is up. Whenever it gets released, we do the same. This way
      we can assure that the interrupt state is always known to kernel space.
      
      This fixes random stalls in KVM guests on PowerPC that were waiting for
      an interrupt while everyone else thought they received it already.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      fc87e185
  3. 04 9月, 2010 11 次提交
  4. 01 9月, 2010 1 次提交
  5. 31 8月, 2010 1 次提交
  6. 28 8月, 2010 2 次提交
    • I
      isapc: fix segfault. · 02a89b21
      Isaku Yamahata 提交于
      https://bugs.launchpad.net/bugs/611646
      reports that ./i386-softmmu/qemu -M isapc segfaults.
      This patch fixes the segfault introduced by
      f885f1ea
      
      It's because i440fx_state in pc_init1() isn't initialized.
      
      > Core was generated by `./i386-softmmu/qemu -M isapc'.
      > Program terminated with signal 11, Segmentation fault.
      > [New process 19686]
      >     at qemu/hw/piix_pci.c:136
      > (gdb) where
      >     at qemu/hw/piix_pci.c:136
      >     boot_device=0x7fffe1f5b040 "cad", kernel_filename=0x0,
      >     kernel_cmdline=0x6469bf "", initrd_filename=0x0,
      >     cpu_model=0x654d10 "486", pci_enabled=0)
      >     at qemu/hw/pc_piix.c:178
      >     boot_device=0x7fffe1f5b040 "cad", kernel_filename=0x0,
      >     kernel_cmdline=0x6469bf "", initrd_filename=0x0, cpu_model=0x654d10 "486")
      >     at qemu/hw/pc_piix.c:207
      >     envp=0x7fffe1f5b188)
      >     at qemu/vl.c:2871
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      02a89b21
    • G
      Fix segfault in mmio subpage handling code. · 95c318f5
      Gleb Natapov 提交于
      It is possible that subpage mmio is registered over existing memory
      page. When this happens "memory" will have real memory address and not
      index into io_mem array so next access to the page will generate
      segfault. It is uncommon to have some part of a page to be accessed as
      memory and some as mmio, but qemu shouldn't crash even when guest does
      stupid things. So lets just pretend that the rest of the page is
      unassigned if guest configure part of the memory page as mmio.
      Signed-off-by: NGleb Natapov <gleb@redhat.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      95c318f5
  7. 27 8月, 2010 8 次提交
  8. 24 8月, 2010 2 次提交
  9. 23 8月, 2010 11 次提交