Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-28 Thread Stefan Hajnoczi
On Thu, Mar 28, 2019 at 02:45:37PM +0800, Xiao Guangrong wrote: > > > On 3/27/19 5:41 PM, Stefano Garzarella wrote: > > Hi Yang, Xiao, > > Just adding few things, because I'm currently exploring the QEMU modules > > in order to reduce the boot time and the footprint. > > > > Hi Stefan Hajnoczi

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-28 Thread Stefano Garzarella
On Thu, Mar 28, 2019 at 02:45:37PM +0800, Xiao Guangrong wrote: > On 3/27/19 5:41 PM, Stefano Garzarella wrote: > > Hi Yang, Xiao, > > Just adding few things, because I'm currently exploring the QEMU modules > > in order to reduce the boot time and the footprint. > > > > Hi Stefan Hajnoczi and

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-28 Thread Xiao Guangrong
On 3/27/19 5:41 PM, Stefano Garzarella wrote: Hi Yang, Xiao, Just adding few things, because I'm currently exploring the QEMU modules in order to reduce the boot time and the footprint. Hi Stefan Hajnoczi and Stefano Garzarella, The work exploring the QEMU modules looks really good. we

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-27 Thread Stefano Garzarella
On Wed, Mar 27, 2019 at 01:33:06PM +0100, Paolo Bonzini wrote: > On 27/03/19 10:41, Stefano Garzarella wrote: > > I found that libgnutls, libspice-server and libnuma initialization takes > > most of the time. I disabled these libraries (--disable-numa > > --disable-gnutls > > --disable-spice) to

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-27 Thread Samuel Ortiz
On Tue, Mar 26, 2019 at 02:31:00PM +0100, Paolo Bonzini wrote: > On 26/03/19 12:38, Yang Zhong wrote: > > On Tue, Mar 26, 2019 at 10:07:35AM +0100, Paolo Bonzini wrote: > >> Would separate QEMU binaries be a solution? I think I am not as opposed > >> to a "q35-lite" machine type these days, I

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-27 Thread Paolo Bonzini
On 27/03/19 14:19, Samuel Ortiz wrote: > Hi Paolo, > > On Tue, Mar 26, 2019 at 10:07:35AM +0100, Paolo Bonzini wrote: >> Would separate QEMU binaries be a solution? I think I am not as opposed >> to a "q35-lite" machine type these days, I find it preferrable to share >> the northbridge and

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-27 Thread Samuel Ortiz
Hi Paolo, On Tue, Mar 26, 2019 at 10:07:35AM +0100, Paolo Bonzini wrote: > Would separate QEMU binaries be a solution? I think I am not as opposed > to a "q35-lite" machine type these days, I find it preferrable to share > the northbridge and southbridge with Q35 and just get rid of IDE, VGA, >

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-27 Thread Paolo Bonzini
On 27/03/19 10:41, Stefano Garzarella wrote: > I found that libgnutls, libspice-server and libnuma initialization takes > most of the time. I disabled these libraries (--disable-numa --disable-gnutls > --disable-spice) to understand the maximum speed up and I gained 10 ms > during the boot: >

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-27 Thread Stefano Garzarella
Hi Yang, Xiao, Just adding few things, because I'm currently exploring the QEMU modules in order to reduce the boot time and the footprint. On Tue, Mar 26, 2019 at 09:27:09AM +, Stefan Hajnoczi wrote: > On Tue, Mar 26, 2019 at 03:00:05PM +0800, Xiao Guangrong wrote: > > On 3/26/19 7:18 AM,

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-26 Thread Paolo Bonzini
On 26/03/19 12:38, Yang Zhong wrote: > On Tue, Mar 26, 2019 at 10:07:35AM +0100, Paolo Bonzini wrote: >> Would separate QEMU binaries be a solution? I think I am not as opposed >> to a "q35-lite" machine type these days, I find it preferrable to share >> the northbridge and southbridge with Q35

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-26 Thread Yang Zhong
On Tue, Mar 26, 2019 at 10:07:35AM +0100, Paolo Bonzini wrote: > On 26/03/19 08:00, Xiao Guangrong wrote: > > On 3/26/19 7:18 AM, Paolo Bonzini wrote: > >> Also, what is the use case?  Is it to reduce the attack surface without > >> having multiple QEMU binaries? > > > > Security is one story we

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-26 Thread Xiao Guangrong
On 3/26/19 5:07 PM, Paolo Bonzini wrote: On 26/03/19 08:00, Xiao Guangrong wrote: On 3/26/19 7:18 AM, Paolo Bonzini wrote: Also, what is the use case?  Is it to reduce the attack surface without having multiple QEMU binaries? Security is one story we concern, only the essential and

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-26 Thread Stefan Hajnoczi
On Tue, Mar 26, 2019 at 03:00:05PM +0800, Xiao Guangrong wrote: > On 3/26/19 7:18 AM, Paolo Bonzini wrote: > > On 25/03/19 12:46, Yang Zhong wrote: > > > Hello all, > > > > > > Rust-VMM has started to make all features and common modules to crates, > > > and CSP can > > > deploy their VMM on

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-26 Thread Paolo Bonzini
On 26/03/19 08:00, Xiao Guangrong wrote: > On 3/26/19 7:18 AM, Paolo Bonzini wrote: >> Also, what is the use case?  Is it to reduce the attack surface without >> having multiple QEMU binaries? > > Security is one story we concern, only the essential and audited > modules/libraries can be loaded

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-26 Thread Xiao Guangrong
On 3/26/19 7:18 AM, Paolo Bonzini wrote: On 25/03/19 12:46, Yang Zhong wrote: Hello all, Rust-VMM has started to make all features and common modules to crates, and CSP can deploy their VMM on demand. This afternoon, Xiao guangrong and i talked about the light weight VM solitions,and we

Re: [Qemu-devel] About making QEMU to LIBs!

2019-03-25 Thread Paolo Bonzini
On 25/03/19 12:46, Yang Zhong wrote: > Hello all, > > Rust-VMM has started to make all features and common modules to crates, and > CSP can > deploy their VMM on demand. This afternoon, Xiao guangrong and i talked about > the light > weight VM solitions,and we thought QEMU can do same thing

[Qemu-devel] About making QEMU to LIBs!

2019-03-25 Thread Yang Zhong
Hello all, Rust-VMM has started to make all features and common modules to crates, and CSP can deploy their VMM on demand. This afternoon, Xiao guangrong and i talked about the light weight VM solitions,and we thought QEMU can do same thing like Rust-vmm, although we can make all modules