1. 19 6月, 2014 12 次提交
  2. 16 6月, 2014 1 次提交
  3. 10 6月, 2014 1 次提交
  4. 13 5月, 2014 1 次提交
  5. 05 5月, 2014 3 次提交
  6. 18 3月, 2014 2 次提交
  7. 05 2月, 2014 1 次提交
  8. 26 1月, 2014 1 次提交
  9. 23 12月, 2013 3 次提交
    • C
      target-i386: Move apic_state field from CPUX86State to X86CPU · 02e51483
      Chen Fan 提交于
      This motion is preparing for refactoring vCPU APIC subsequently.
      Signed-off-by: NChen Fan <chen.fan.fnst@cn.fujitsu.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      02e51483
    • M
      isa: Clean up use of cannot_instantiate_with_device_add_yet · f3b17640
      Markus Armbruster 提交于
      Drop it when there's no obvious reason why device_add could not work.
      Else keep and document why.
      
      * isa-fdc: drop
      
      * i8042: drop, even though its I/O base is hardcoded (because you
        could conceivably still add one to a board that has none), and even
        though PC board code wires up the A20 line (because that wiring is
        optional)
      
      * port92: keep because it needs additional wiring by port92_init()
      
      * mc146818rtc: keep because it needs to be wired up by rtc_init()
      
      * m48t59_isa: keep because needs to be wired up by m48t59_init_isa()
      
      * isa-pit, kvm-pit: keep (in their abstract base pic-common) because
        the PIT needs additional wiring by board code, depending on HPET
        presence
      
      * pcspk: keep because of pointer property pit, and because realize
        sets global pcspk_state
      
      * vmmouse: keep because of pointer property ps2_mouse
      
      * vmport: keep because realize sets global port_state
      
      * isa-i8259, kvm-i8259: keep (in their abstract base pic-common),
        because the PICs' IRQ input lines are set up by board code, and the
        wiring of the slave to the master is hard-coded in device model code
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      f3b17640
    • M
      qdev: Replace no_user by cannot_instantiate_with_device_add_yet · efec3dd6
      Markus Armbruster 提交于
      In an ideal world, machines can be built by wiring devices together
      with configuration, not code.  Unfortunately, that's not the world we
      live in right now.  We still have quite a few devices that need to be
      wired up by code.  If you try to device_add such a device, it'll fail
      in sometimes mysterious ways.  If you're lucky, you get an
      unmysterious immediate crash.
      
      To protect users from such badness, DeviceClass member no_user used to
      make device models unavailable with -device / device_add, but that
      regressed in commit 18b6dade.  The device model is still omitted from
      help, but is available anyway.
      
      Attempts to fix the regression have been rejected with the argument
      that the purpose of no_user isn't clear, and it's prone to misuse.
      
      This commit clarifies no_user's purpose.  Anthony suggested to rename
      it cannot_instantiate_with_device_add_yet_due_to_internal_bugs, which
      I shorten somewhat to keep checkpatch happy.  While there, make it
      bool.
      
      Every use of cannot_instantiate_with_device_add_yet gets a FIXME
      comment asking for rationale.  The next few commits will clean them
      all up, either by providing a rationale, or by getting rid of the use.
      
      With that done, the regression fix is hopefully acceptable.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NMarcel Apfelbaum <marcel.a@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      efec3dd6
  10. 12 12月, 2013 2 次提交
  11. 10 12月, 2013 1 次提交
  12. 04 11月, 2013 2 次提交
  13. 17 10月, 2013 1 次提交
    • G
      e820: pass high memory too. · 0624c7f9
      Gerd Hoffmann 提交于
      We have a fw_cfg entry to pass e820 entries from qemu to the firmware.
      Today it's used to pass reservations only.  This patch makes qemu pass
      entries for RAM too.
      
      This allows to pass RAM sizes larger than 1TB to the firmware and it
      will also allow to pass non-contignous memory ramges should we decide
      to implement that some day, say for our virtual numa nodes.
      
      Obviously this needs some extra care to not break existing firware.
      
      SeaBIOS loads the entries and happily adds them without looking at the
      type.  Which is problematic for memory below 4g as this will overwrite
      reservations added for bios memory etc.  For memory above 4g it works
      just fine, seabios will merge the entry derived from cmos with the one
      loaded from fw_cfg.
      
      OVMF doesn't look at the fw_cfg e820 table.
      coreboot doesn't look at the fw_cfg e820 table.
      
      Cc: Andrea Arcangeli <aarcange@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-By: NIgor Mammedov <imammedo@redhat.com>
      0624c7f9
  14. 14 10月, 2013 3 次提交
  15. 03 9月, 2013 1 次提交
  16. 20 8月, 2013 1 次提交
  17. 12 8月, 2013 1 次提交
  18. 07 8月, 2013 1 次提交
    • A
      target-i386: Fix X86CPU error handling · cd7b87ff
      Andreas Färber 提交于
      Error **errp argument is not for emitting warnings, it means an error
      has occurred and the caller should not make any assumptions about the
      state of other return values (unless otherwise documented).
      
      Therefore cpu_x86_create() must unref the new X86CPU itself, and
      pc_new_cpu() must check for an Error rather than NULL return value.
      
      While at it, clean up a superfluous NULL check.
      Reported-by: NJan Kiszka <jan.kiszka@siemens.com>
      Cc: qemu-stable@nongnu.org
      Cc: Igor Mammedov <imammedo@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      cd7b87ff
  19. 30 7月, 2013 2 次提交