qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] e28965: microvm: use 3G split unconditionally


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] e28965: microvm: use 3G split unconditionally
Date: Thu, 18 Jun 2020 04:15:27 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e289655cea93bd50856a0896e2d49e5c7ed10c3b
      
https://github.com/qemu/qemu/commit/e289655cea93bd50856a0896e2d49e5c7ed10c3b
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M hw/i386/microvm.c

  Log Message:
  -----------
  microvm: use 3G split unconditionally

Looks like the logic was copied over from q35.

q35 does this for backward compatibility, there is no reason to do this
on microvm though.  Also microvm doesn't need much mmio space, 1G is
more than enough.  Using an mmio window smaller than 1G is bad for
gigabyte alignment and hugepages though.  So split @ 3G unconditionally.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200529073957.8018-2-kraxel@redhat.com


  Commit: 3235936e306b5eae6291907e4d675f226707fd14
      
https://github.com/qemu/qemu/commit/3235936e306b5eae6291907e4d675f226707fd14
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M hw/i386/microvm.c

  Log Message:
  -----------
  microvm: drop max-ram-below-4g support

Not useful for microvm and allows users to shoot themself
into the foot (make ram + mmio overlap).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200529073957.8018-3-kraxel@redhat.com


  Commit: 9a45729d3bfcc87a23efaab84092473e770d900b
      
https://github.com/qemu/qemu/commit/9a45729d3bfcc87a23efaab84092473e770d900b
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/x86.c
    M hw/i386/xen/xen-hvm.c
    M include/hw/i386/pc.h
    M include/hw/i386/x86.h

  Log Message:
  -----------
  x86: move max-ram-below-4g to pc

Move from X86MachineClass to PCMachineClass so it disappears
from microvm machine type property list.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Message-id: 20200529073957.8018-4-kraxel@redhat.com


  Commit: c8b473594b8fbba169a6ea950493a3015d15a18d
      
https://github.com/qemu/qemu/commit/c8b473594b8fbba169a6ea950493a3015d15a18d
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M include/hw/i386/microvm.h

  Log Message:
  -----------
  microvm: move virtio base to 0xfeb00000

Place virtio-mmio devices near the other mmio regions,
next ioapic is at @ 0xfec00000.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20200529073957.8018-5-kraxel@redhat.com


  Commit: 3f429a3400822141651486193d6af625eeab05a5
      
https://github.com/qemu/qemu/commit/3f429a3400822141651486193d6af625eeab05a5
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M hw/i386/microvm.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/x86.c
    M hw/i386/xen/xen-hvm.c
    M include/hw/i386/microvm.h
    M include/hw/i386/pc.h
    M include/hw/i386/x86.h

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/kraxel/tags/microvm-20200617-pull-request' into staging

microvm: memory config tweaks

# gpg: Signature made Wed 17 Jun 2020 13:28:44 BST
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/microvm-20200617-pull-request:
  microvm: move virtio base to 0xfeb00000
  x86: move max-ram-below-4g to pc
  microvm: drop max-ram-below-4g support
  microvm: use 3G split unconditionally

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/bac8d222a19f...3f429a340082



reply via email to

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