Re: [Qemu-devel] 答复: [PATCH] smbios: Add 1 terminator if there is any string field defined in given table.

2016-11-07 Thread Lin Ma
>>> "Daniel P. Berrange" berra...@redhat.com> 2016/11/8 星期二 上午 12:31 >> ( mailto:berra...@redhat.com) .. >> > >Code identation is this patch looks totally mangled. > How about this one: (From the code style's perspective, it should be no big problem) http://lists.nongnu.org/archive/html/qem

Re: [Qemu-devel] 答复: [PATCH] smbios: Add 1 terminator if there is any string field defined in given table.

2016-11-07 Thread Daniel P. Berrange
On Mon, Nov 07, 2016 at 09:25:37AM -0700, Lin Ma wrote: > Ping. > > >>> Lin Ma 2016/9/6 星期二 下午 4:28 >>> > If user specifies binary file on command line to load smbios entries, then > will get error messages while decoding them in guest. > > Reproducer: > 1. dump a smbios table to a binary file f

[Qemu-devel] 答复: [PATCH] smbios: Add 1 terminator if there is any string field defined in given table.

2016-11-07 Thread Lin Ma
Ping. >>> Lin Ma 2016/9/6 星期二 下午 4:28 >>> If user specifies binary file on command line to load smbios entries, then will get error messages while decoding them in guest. Reproducer: 1. dump a smbios table to a binary file from host or guest.(says table 1) 2. load the binary file through command