1. 07 7月, 2015 1 次提交
  2. 06 7月, 2015 1 次提交
  3. 19 6月, 2015 1 次提交
  4. 12 6月, 2015 1 次提交
  5. 03 6月, 2015 1 次提交
  6. 01 6月, 2015 3 次提交
    • L
      i386: drop FDC in pc-q35-2.4+ if neither it nor floppy drives are wanted · ea96bc62
      Laszlo Ersek 提交于
      It is Very annoying to carry forward an outdatEd coNtroller with a mOdern
      Machine type.
      
      Hence, let us not instantiate the FDC when all of the following apply:
      - the machine type is pc-q35-2.4 or later,
      - "-device isa-fdc" is not passed on the command line (nor in the config
        file),
      - no "-drive if=floppy,..." is requested.
      
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: John Snow <jsnow@redhat.com>
      Cc: "Gabriel L. Somlo" <gsomlo@gmail.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: qemu-block@nongnu.org
      Suggested-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
      Acked-by: NPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      ea96bc62
    • L
      i386/pc_q35: don't insist on board FDC if there's no default floppy · 6cd2234c
      Laszlo Ersek 提交于
      The "no_floppy = 1" machine class setting causes "default_floppy" in
      main() to become zero. Consequently, default_drive() will not call
      drive_add() and drive_new() for IF_FLOPPY, index=0, meaning that no
      default floppy drive will be created for the virtual machine. In that
      case, board code should also not insist on the creation of the
      board-default FDC.
      
      The board-default FDC will still be created if the user requests a floppy
      drive with "-drive if=floppy".
      
      Additionally, separate FDCs can be specified manually with "-device
      isa-fdc". They allow the
      
        -device isa-fdc,driveA=...
      
      syntax that is more flexible than the one required by the board-default
      FDC:
      
        -global isa-fdc.driveA=...
      
      This patch doesn't change the behavior observably, as all Q35 machine
      types have "no_floppy = 0".
      
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: John Snow <jsnow@redhat.com>
      Cc: "Gabriel L. Somlo" <gsomlo@gmail.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: qemu-block@nongnu.org
      Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      6cd2234c
    • L
      i386/pc: pc_basic_device_init(): delegate FDC creation request · fd53c87c
      Laszlo Ersek 提交于
      This patch introduces no observable change, but it allows the callers of
      pc_basic_device_init(), ie. pc_init1() and pc_q35_init(), to request (or
      not request) the creation of the FDC explicitly.
      
      At the moment both callers pass constant create_fdctrl=true (hence no
      observable change).
      
      Assuming a board passes create_fdctrl=false, "floppy" will be NULL on
      output, and (beyond the FDC not being created) that NULL will be passed on
      to pc_cmos_init(). Luckily, pc_cmos_init() already handles that case.
      
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: John Snow <jsnow@redhat.com>
      Cc: "Gabriel L. Somlo" <gsomlo@gmail.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: qemu-block@nongnu.org
      Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      fd53c87c
  7. 31 5月, 2015 9 次提交
  8. 28 4月, 2015 1 次提交
  9. 20 3月, 2015 1 次提交
    • E
      Revert "target-i386: Disable HLE and RTM on Haswell & Broadwell" · 1ee91598
      Eduardo Habkost 提交于
      This reverts commit 13704e4c.
      
      With the Intel microcode update that removed HLE and RTM, there will be
      different kinds of Haswell and Broadwell CPUs out there: some that still
      have the HLE and RTM features, and some that don't have the HLE and RTM
      features. On both cases people may be willing to use the pc-*-2.3
      machine-types.
      
      So instead of making the CPU model results confusing by making it depend
      on the machine-type, keep HLE and RTM on the existing Haswell and
      Broadwell CPU models. The plan is to introduce "Haswell-noTSX" and
      "Broadwell-noTSX" CPU models later, for people who have CPUs that don't
      have TSX feature available.
      Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      1ee91598
  10. 16 3月, 2015 1 次提交
  11. 26 2月, 2015 2 次提交
  12. 26 1月, 2015 1 次提交
  13. 09 1月, 2015 1 次提交
  14. 07 1月, 2015 1 次提交
  15. 15 12月, 2014 3 次提交
  16. 26 11月, 2014 1 次提交
  17. 23 11月, 2014 1 次提交
  18. 04 11月, 2014 5 次提交
  19. 02 11月, 2014 5 次提交