qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] bbe317: ahci: add ahci_get_num_ports


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] bbe317: ahci: add ahci_get_num_ports
Date: Wed, 19 Jul 2017 06:37:53 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bbe3179a13599296807b735797d0e76792021f24
      
https://github.com/qemu/qemu/commit/bbe3179a13599296807b735797d0e76792021f24
  Author: John Snow <address@hidden>
  Date:   2017-07-18 (Tue, 18 Jul 2017)

  Changed paths:
    M hw/i386/pc_q35.c
    M hw/ide/ahci.c
    M hw/mips/boston.c
    M include/hw/ide/ahci.h

  Log Message:
  -----------
  ahci: add ahci_get_num_ports

Instead of reaching into the PCI state, allow the AHCIDevice to
respond with how many ports it has.

Signed-off-by: John Snow <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>


  Commit: 5402fda5adff0860fbaffd2228405f6e9c2cb889
      
https://github.com/qemu/qemu/commit/5402fda5adff0860fbaffd2228405f6e9c2cb889
  Author: John Snow <address@hidden>
  Date:   2017-07-18 (Tue, 18 Jul 2017)

  Changed paths:
    M include/hw/ide/ahci.h
    A include/hw/ide/ahci_public.h

  Log Message:
  -----------
  ahci: Isolate public AHCI interface

Begin separating the public/private interface by removing the minimum
set of information used by code outside of hw/ide/ and calling this
a new ahci_public.h file, which will be renamed to ahci.h in a future
patch.

Signed-off-by: John Snow <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>


  Commit: 70e2337030fb242b0a7870e781b57055110400a1
      
https://github.com/qemu/qemu/commit/70e2337030fb242b0a7870e781b57055110400a1
  Author: John Snow <address@hidden>
  Date:   2017-07-18 (Tue, 18 Jul 2017)

  Changed paths:
    M hw/ide/ahci.c
    A hw/ide/ahci_internal.h
    M hw/ide/ich.c
    M include/hw/ide/ahci.h
    R include/hw/ide/ahci_public.h

  Log Message:
  -----------
  ahci: split public and private interface

Complete the split by renaming ahci_public.h --> ahci.h and
moving the current ahci.h to hw/ide/ahci_internal.h.

Adjust ahci_internal.h to now load ahci.h instead of ahci_public.h.

Finalize the split by switching external users to the new header.

Signed-off-by: John Snow <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>


  Commit: ff0ca962345ecdb87c331888a806cde49936fd9f
      
https://github.com/qemu/qemu/commit/ff0ca962345ecdb87c331888a806cde49936fd9f
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2017-07-18 (Tue, 18 Jul 2017)

  Changed paths:
    M tests/ahci-test.c

  Log Message:
  -----------
  tests/ahci-test: Be mean with RAM

The migration tests used two VMs each with -m 1024 this caused
problems when run in some small, pessimistic test VMs (netbsd).
We can just be meaner with the amount of RAM in the test and use -m 384

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Message-id: address@hidden
Reviewed-by: John Snow <address@hidden>
Signed-off-by: John Snow <address@hidden>


  Commit: 6d60e295ef020759a03b90724d0342012c189ba2
      
https://github.com/qemu/qemu/commit/6d60e295ef020759a03b90724d0342012c189ba2
  Author: Peter Maydell <address@hidden>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

  Changed paths:
    M hw/i386/pc_q35.c
    M hw/ide/ahci.c
    A hw/ide/ahci_internal.h
    M hw/ide/ich.c
    M hw/mips/boston.c
    M include/hw/ide/ahci.h
    M tests/ahci-test.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into 
staging

# gpg: Signature made Tue 18 Jul 2017 17:11:07 BST
# gpg:                using RSA key 0x7DEF8106AAFC390E
# gpg: Good signature from "John Snow (John Huston) <address@hidden>"
# Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
#      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E

* remotes/jnsnow/tags/ide-pull-request:
  tests/ahci-test: Be mean with RAM
  ahci: split public and private interface
  ahci: Isolate public AHCI interface
  ahci: add ahci_get_num_ports

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/988879b66ed8...6d60e295ef02

reply via email to

[Prev in Thread] Current Thread [Next in Thread]