Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qemu/qemu
base: 00f76608a68d
Choose a base ref
...
head repository: qemu/qemu
compare: aa33508196f4
Choose a head ref
  • 2 commits
  • 9 files changed
  • 2 contributors

Commits on May 23, 2023

  1. hostmem-file: add offset option

    Add an option for hostmem-file to start the memory object at an offset
    into the target file. This is useful if multiple memory objects reside
    inside the same target file, such as a device node.
    
    In particular, it's useful to map guest memory directly into /dev/mem
    for experimentation.
    
    To make this work consistently, also fix up all places in QEMU that
    expect fd offsets to be 0.
    
    Signed-off-by: Alexander Graf <graf@amazon.com>
    Message-Id: <20230403221421.60877-1-graf@amazon.com>
    Acked-by: Markus Armbruster <armbru@redhat.com>
    Acked-by: Peter Xu <peterx@redhat.com>
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Signed-off-by: David Hildenbrand <david@redhat.com>
    Alexander Graf authored and davidhildenbrand committed May 23, 2023
    Copy the full SHA
    4b870dc View commit details
    Browse the repository at this point in the history
  2. Merge tag 'mem-2023-05-23' of https://github.com/davidhildenbrand/qemu

    …into staging
    
    Hi,
    
    "Host Memory Backends" and "Memory devices" queue ("mem"):
    - New "offset" option for memory-backend-file
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQJFBAABCAAvFiEEG9nKrXNcTDpGDfzKTd4Q9wD/g1oFAmRs0h4RHGRhdmlkQHJl
    # ZGhhdC5jb20ACgkQTd4Q9wD/g1r+9BAAsOtioPE3y1xBNyLhO+sbBK4w0Xf5ABRF
    # QXfrSPfz0IaThzg33o7eCUMrbC5UmRyeq1aeGWFNo1RevgKxeFFlcVdvUFDeJL5R
    # vS94ZzowpJ6lJvpgP8iOMmWY2nztWpIfE92nLKIeze5nlbnMwKn8ZlVWkqFialkT
    # Ro1AI/ZmyvUDJj8UXQEW+p1NWE4m59TH5atQqBG3kkU7RJTU4DKVQtKbOysEwIhr
    # A4y0nvgMeHLlEPUSqcERe9wOqVENdlsON6vms5AILN4/TmjSe3BHINjH9NOFveiO
    # wgquSt0ystPAY0MXRPXgg6XwL1AAFR9cJt/rOZiBYpqeZHAmKOsi5qUXyv2dmXhw
    # RaPV041g2RJZiFgH1N4v4aN0j8AYbtHSYYsP1snfULa8VfePPquY/UxyPaK28WHn
    # on5VV5nBScYNVtKI90Gci4jxGStnM0zG503GQ26pt85+35866zertBqsTTPIO2Mm
    # 7+YSkedSzmIt11GH0rqdghQte6qj1ED8lGO626s5m+qbGL9WuBXYCG9yzl5yTLsz
    # I27si7Fh/Y0QQHs3GEAH2tsi89tphElnZksdj4P1/uPDIDnTF7d5I+tlUiQXHNaw
    # rXAV76q4j0GgbBm4Cp1iMTUNxALes4aOG7oRMeFxvVWy0fqmfAvKhDVILGkUlYTr
    # C82GUJ5x3mc=
    # =izHP
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Tue 23 May 2023 07:47:58 AM PDT
    # gpg:                using RSA key 1BD9CAAD735C4C3A460DFCCA4DDE10F700FF835A
    # gpg:                issuer "david@redhat.com"
    # gpg: Good signature from "David Hildenbrand <david@redhat.com>" [unknown]
    # gpg:                 aka "David Hildenbrand <davidhildenbrand@gmail.com>" [undefined]
    # gpg:                 aka "David Hildenbrand <hildenbr@in.tum.de>" [unknown]
    # gpg: WARNING: This key is not certified with a trusted signature!
    # gpg:          There is no indication that the signature belongs to the owner.
    # Primary key fingerprint: 1BD9 CAAD 735C 4C3A 460D  FCCA 4DDE 10F7 00FF 835A
    
    * tag 'mem-2023-05-23' of https://github.com/davidhildenbrand/qemu:
      hostmem-file: add offset option
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed May 23, 2023
    Copy the full SHA
    aa33508 View commit details
    Browse the repository at this point in the history