monitor/qmp: Update comment for commit 4eaca8de268
[qemu/armbru.git] / include / standard-headers / linux / virtio_pmem.h
blob7e3d43b121363f3234a51c7249f495cfa3631110
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /*
3 * Definitions for virtio-pmem devices.
5 * Copyright (C) 2019 Red Hat, Inc.
7 * Author(s): Pankaj Gupta <pagupta@redhat.com>
8 */
10 #ifndef _UAPI_LINUX_VIRTIO_PMEM_H
11 #define _UAPI_LINUX_VIRTIO_PMEM_H
13 #include "standard-headers/linux/types.h"
14 #include "standard-headers/linux/virtio_ids.h"
15 #include "standard-headers/linux/virtio_config.h"
17 struct virtio_pmem_config {
18 uint64_t start;
19 uint64_t size;
22 #define VIRTIO_PMEM_REQ_TYPE_FLUSH 0
24 struct virtio_pmem_resp {
25 /* Host return status corresponding to flush request */
26 uint32_t ret;
29 struct virtio_pmem_req {
30 /* command type */
31 uint32_t type;
34 #endif