Skip to content
Snippets Groups Projects
  • Stefan Hajnoczi's avatar
    49076448
    Merge tag 'mem-2023-09-19' of https://github.com/davidhildenbrand/qemu into staging · 49076448
    Stefan Hajnoczi authored
    Hi,
    
    "Host Memory Backends" and "Memory devices" queue ("mem"):
    - Support and document VM templating with R/O files using a new "rom"
      parameter for memory-backend-file
    - Some cleanups and fixes around NVDIMMs and R/O file handling for guest
      RAM
    - Optimize ioeventfd updates by skipping address spaces that are not
      applicable
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQJFBAABCAAvFiEEG9nKrXNcTDpGDfzKTd4Q9wD/g1oFAmUJdykRHGRhdmlkQHJl
    # ZGhhdC5jb20ACgkQTd4Q9wD/g1pf2w//akOUoYMuamySGjXtKLVyMKZkjIys+Ama
    # k2C0xzsWAHBP572ezwHi8uxf5j9kzAjsw6GxDZ7FAamD9MhiohkEvkecloBx6f/c
    # q3fVHblBNkG7v2urtf4+6PJtJvhzOST2SFXfWeYhO/vaA04AYCDgexv82JN3gA6B
    # OS8WyOX62b8wILPSY2GLZ8IqpE9XnOYZwzVBn6YB1yo7ZkYEfXO6cA8nykNuNcOE
    # vppqDo7uVIX6317FWj8ygxmzFfOaj0WT2MT2XFzEIDfg8BInQN8HC4mTn0hcVKMa
    # N1y+eZH733CQKT+uNBRZ5YOeljOi4d6gEEyvkkA/L7e5D3Qg9hIdvHb4uryCFSWX
    # Vt07OP1XLBwCZFobOC6sg+2gtTZJxxYK89e6ZzEd0454S24w5bnEteRAaCGOP0XL
    # ww9xYULqhtZs55UC4rvZHJwdUAk1fIY4VqynwkeQXegvz6BxedNeEkJiiEU0Tizx
    # N2VpsxAJ7H/LLSFeZoCRESo4azrH6U4n7S/eS1tkCniFqibfe2yIQCDoJVfb42ec
    # gfg/vThCrDwHkIHzkMmoV8NndA7Q7SIkyMfYeEEBeZMeg8JzYll4DJEw/jQCacxh
    # KRUa+AZvGlTJUq0mkvyOVfLki+iaehoIUuY1yvMrmdWijPO8n3YybmP9Ljhr8VdR
    # 9MSYZe+I2v8=
    # =iraT
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Tue 19 Sep 2023 06:25:45 EDT
    # 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>" [full]
    # gpg:                 aka "David Hildenbrand <hildenbr@in.tum.de>" [unknown]
    # gpg: WARNING: The key's User ID 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-09-19' of https://github.com/davidhildenbrand/qemu
    
    :
      memory: avoid updating ioeventfds for some address_space
      machine: Improve error message when using default RAM backend id
      softmmu/physmem: Hint that "readonly=on,rom=off" exists when opening file R/W for private mapping fails
      docs: Start documenting VM templating
      docs: Don't mention "-mem-path" in multi-process.rst
      softmmu/physmem: Never return directories from file_ram_open()
      softmmu/physmem: Fail creation of new files in file_ram_open() with readonly=true
      softmmu/physmem: Bail out early in ram_block_discard_range() with readonly files
      softmmu/physmem: Remap with proper protection in qemu_ram_remap()
      backends/hostmem-file: Add "rom" property to support VM templating with R/O files
      softmmu/physmem: Distinguish between file access mode and mmap protection
      nvdimm: Reject writing label data to ROM instead of crashing QEMU
    
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    49076448
    History
    Merge tag 'mem-2023-09-19' of https://github.com/davidhildenbrand/qemu into staging
    Stefan Hajnoczi authored
    Hi,
    
    "Host Memory Backends" and "Memory devices" queue ("mem"):
    - Support and document VM templating with R/O files using a new "rom"
      parameter for memory-backend-file
    - Some cleanups and fixes around NVDIMMs and R/O file handling for guest
      RAM
    - Optimize ioeventfd updates by skipping address spaces that are not
      applicable
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQJFBAABCAAvFiEEG9nKrXNcTDpGDfzKTd4Q9wD/g1oFAmUJdykRHGRhdmlkQHJl
    # ZGhhdC5jb20ACgkQTd4Q9wD/g1pf2w//akOUoYMuamySGjXtKLVyMKZkjIys+Ama
    # k2C0xzsWAHBP572ezwHi8uxf5j9kzAjsw6GxDZ7FAamD9MhiohkEvkecloBx6f/c
    # q3fVHblBNkG7v2urtf4+6PJtJvhzOST2SFXfWeYhO/vaA04AYCDgexv82JN3gA6B
    # OS8WyOX62b8wILPSY2GLZ8IqpE9XnOYZwzVBn6YB1yo7ZkYEfXO6cA8nykNuNcOE
    # vppqDo7uVIX6317FWj8ygxmzFfOaj0WT2MT2XFzEIDfg8BInQN8HC4mTn0hcVKMa
    # N1y+eZH733CQKT+uNBRZ5YOeljOi4d6gEEyvkkA/L7e5D3Qg9hIdvHb4uryCFSWX
    # Vt07OP1XLBwCZFobOC6sg+2gtTZJxxYK89e6ZzEd0454S24w5bnEteRAaCGOP0XL
    # ww9xYULqhtZs55UC4rvZHJwdUAk1fIY4VqynwkeQXegvz6BxedNeEkJiiEU0Tizx
    # N2VpsxAJ7H/LLSFeZoCRESo4azrH6U4n7S/eS1tkCniFqibfe2yIQCDoJVfb42ec
    # gfg/vThCrDwHkIHzkMmoV8NndA7Q7SIkyMfYeEEBeZMeg8JzYll4DJEw/jQCacxh
    # KRUa+AZvGlTJUq0mkvyOVfLki+iaehoIUuY1yvMrmdWijPO8n3YybmP9Ljhr8VdR
    # 9MSYZe+I2v8=
    # =iraT
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Tue 19 Sep 2023 06:25:45 EDT
    # 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>" [full]
    # gpg:                 aka "David Hildenbrand <hildenbr@in.tum.de>" [unknown]
    # gpg: WARNING: The key's User ID 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-09-19' of https://github.com/davidhildenbrand/qemu
    
    :
      memory: avoid updating ioeventfds for some address_space
      machine: Improve error message when using default RAM backend id
      softmmu/physmem: Hint that "readonly=on,rom=off" exists when opening file R/W for private mapping fails
      docs: Start documenting VM templating
      docs: Don't mention "-mem-path" in multi-process.rst
      softmmu/physmem: Never return directories from file_ram_open()
      softmmu/physmem: Fail creation of new files in file_ram_open() with readonly=true
      softmmu/physmem: Bail out early in ram_block_discard_range() with readonly files
      softmmu/physmem: Remap with proper protection in qemu_ram_remap()
      backends/hostmem-file: Add "rom" property to support VM templating with R/O files
      softmmu/physmem: Distinguish between file access mode and mmap protection
      nvdimm: Reject writing label data to ROM instead of crashing QEMU
    
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>