]> git.proxmox.com Git - mirror_qemu.git/blob - include/sysemu/sev.h
iotests: Refactor blockdev-reopen test for iothreads
[mirror_qemu.git] / include / sysemu / sev.h
1 /*
2 * QEMU Secure Encrypted Virutualization (SEV) support
3 *
4 * Copyright: Advanced Micro Devices, 2016-2018
5 *
6 * Authors:
7 * Brijesh Singh <brijesh.singh@amd.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
11 *
12 */
13
14 #ifndef QEMU_SEV_H
15 #define QEMU_SEV_H
16
17 #include "sysemu/kvm.h"
18
19 void *sev_guest_init(const char *id);
20 int sev_encrypt_data(void *handle, uint8_t *ptr, uint64_t len);
21 #endif