]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: process: SEV: Assume libDir to be the directory to create files in
authorErik Skultety <eskultet@redhat.com>
Thu, 6 Dec 2018 13:50:19 +0000 (14:50 +0100)
committerErik Skultety <eskultet@redhat.com>
Wed, 2 Jan 2019 09:50:54 +0000 (10:50 +0100)
commit2c4c7de1595330a828015dd750b5ef3874f289d1
tree218e549cea9fe50a0bab1e3770ba02b59883cea2
parent0c6ad476a80c728f73571be3bc5c8bfcc44fbfb2
qemu: process: SEV: Assume libDir to be the directory to create files in

Since SEV operates on a per domain basis, it's very likely that all
SEV launch-related data will be created under
/var/lib/libvirt/qemu/<domain_name>. Therefore, when calling into
qemuProcessSEVCreateFile we can assume @libDir as the directory prefix
rather than passing it explicitly.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_process.c