Re: [Qemu-devel] [RFC PATCH 03/20] vl: Add "sgx-epc" option to expose SGX EPC sections to guest

2019-09-06 Thread Larry Dewey
emdev=@var{memid}[,id=@var{epcid}] > +@findex -sgx-epc > +Define an SGX EPC section. > +ETEXI > + > DEF("k", HAS_ARG, QEMU_OPTION_k, > "-k language use keyboard layout (for example 'fr' for > French)\n", > QEMU_ARCH_ALL) > diff --git a/vl.c b/vl.c > index b426b32134..8d3621ec4d 100644 > --- a/vl.c > +++ b/vl.c > @@ -141,6 +141,7 @@ const char* keyboard_layout = NULL; > ram_addr_t ram_size; > const char *mem_path = NULL; > int mem_prealloc = 0; /* force preallocation of physical target > memory */ > +int sgx_epc_enabled; > bool enable_mlock = false; > bool enable_cpu_pm = false; > int nb_nics; > @@ -3193,6 +3194,14 @@ int main(int argc, char **argv, char **envp) > case QEMU_OPTION_mem_prealloc: > mem_prealloc = 1; > break; > +case QEMU_OPTION_sgx_epc: > +opts = qemu_opts_parse_noisily(qemu_find_opts("sgx- > epc"), > + optarg, false); > +if (!opts) { > +exit(1); > +} > +sgx_epc_enabled = 1; > +break; > case QEMU_OPTION_d: > log_mask = optarg; > break; -- Larry Dewey Software Engineer SUSE 1800 S. Novell Pl Provo, UT 84606 (P)+1 801.861.7605 lde...@suse.com signature.asc Description: This is a digitally signed message part

[Qemu-devel] [Bug 1816189] Re: Unable to create or revert snapshots

2019-02-15 Thread Larry Dewey
Before kernel 4.20.x this was not an issue as nested virtualization was not enabled by default. In any distribution using 4.20.x or later, snapshots and migration do not work. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bu

[Qemu-devel] [Bug 1816189] Re: Unable to create or revert snapshots

2019-02-15 Thread Larry Dewey
Adding System Information ** Attachment added: "System-Details.txt" https://bugs.launchpad.net/qemu/+bug/1816189/+attachment/5238921/+files/System-Details.txt -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad

[Qemu-devel] [Bug 1816189] [NEW] Unable to create or revert snapshots

2019-02-15 Thread Larry Dewey
Public bug reported: With an update to Qemu (3.1.x) I am unable to revert snapshots using virt-manager or virsh. Virtual Machines existing before the update seem to function properly. It is only after creating a new machine that snapshots are misbehaving. I tested spinning up vms of tumbleweed, le

[Qemu-devel] [PATCH] trace: simple style changes

2018-11-27 Thread Larry Dewey
This changes two lines in simple.c that end with a comma, and replaces them with a semi-colon. Signed-off-by: Larry Dewey --- trace/simple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trace/simple.c b/trace/simple.c index 701dec639c..ac904eca91 100644 --- a/trace