[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v20 QEMU 1/5] linux-headers: Update to allow renaming of free_pag
From: |
Alexander Duyck |
Subject: |
[PATCH v20 QEMU 1/5] linux-headers: Update to allow renaming of free_page_report_cmd_id |
Date: |
Thu, 16 Apr 2020 13:00:29 -0700 |
User-agent: |
StGit/0.17.1-dirty |
From: Alexander Duyck <address@hidden>
Sync to the latest upstream changes for free page hinting. To be
replaced by a full linux header sync.
Signed-off-by: Alexander Duyck <address@hidden>
---
include/standard-headers/linux/virtio_balloon.h | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/include/standard-headers/linux/virtio_balloon.h
b/include/standard-headers/linux/virtio_balloon.h
index 9375ca2a70de..af0a6b59dab2 100644
--- a/include/standard-headers/linux/virtio_balloon.h
+++ b/include/standard-headers/linux/virtio_balloon.h
@@ -47,8 +47,15 @@ struct virtio_balloon_config {
uint32_t num_pages;
/* Number of pages we've actually got in balloon. */
uint32_t actual;
- /* Free page report command id, readonly by guest */
- uint32_t free_page_report_cmd_id;
+ /*
+ * Free page hint command id, readonly by guest.
+ * Was previously name free_page_report_cmd_id so we
+ * need to carry that name for legacy support.
+ */
+ union {
+ uint32_t free_page_hint_cmd_id;
+ uint32_t free_page_report_cmd_id; /* deprecated */
+ };
/* Stores PAGE_POISON if page poisoning is in use */
uint32_t poison_val;
};
- [PATCH v20 QEMU 0/5] virtio-balloon: add support for free page reporting, Alexander Duyck, 2020/04/16
- [PATCH v20 QEMU 1/5] linux-headers: Update to allow renaming of free_page_report_cmd_id,
Alexander Duyck <=
- [PATCH v20 QEMU 2/5] virtio-balloon: Replace free page hinting references to 'report' with 'hint', Alexander Duyck, 2020/04/16
- [PATCH v20 QEMU 3/5] virtio-balloon: Implement support for page poison tracking feature, Alexander Duyck, 2020/04/16
- [PATCH v20 QEMU 4/5] linux-headers: update to contain virito-balloon free page reporting, Alexander Duyck, 2020/04/16
- [PATCH v20 QEMU 5/5] virtio-balloon: Provide an interface for free page reporting, Alexander Duyck, 2020/04/16
- Re: [PATCH v20 QEMU 0/5] virtio-balloon: add support for free page reporting, no-reply, 2020/04/16