Re: [Qemu-devel] How to compile qemu with openssl

2016-10-14 Thread Peter Maydell
On 14 October 2016 at 16:07, Fam Zheng wrote: > If you are adding a feature to QEMU instead of experimenting, you should > modify > ./configure to add a new pair of "--enable-" and "--disable-" options. > For example, refer to how the "--enable-libiscsi" pair is handled in configure > scr

Re: [Qemu-devel] How to compile qemu with openssl

2016-10-14 Thread Fam Zheng
On Fri, 10/14 20:07, Chunguang Li wrote: > I need to use the SHA functions in migration/ram.c, > and I have included the head file > #include > Furthermore, I need to use flags "-lssl" and > "-lcrypto" when compile qemu, could anyone please > tell me where to add these two flags? There are "--

[Qemu-devel] How to compile qemu with openssl

2016-10-14 Thread Chunguang Li
I need to use the SHA functions in migration/ram.c, and I have included the head file #include Furthermore, I need to use flags "-lssl" and "-lcrypto" when compile qemu, could anyone please tell me where to add these two flags? Thanks, Chunguang --