target-i386: kvm: Simplify MSR array construction

Add a helper function that appends new entries to the MSR buffer
and checks for the buffer size limit.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
Eduardo Habkost
2016-05-23 19:47:37 -03:00
parent d1138251bf
commit 9c600a8454
+140 -151
View File
File diff suppressed because it is too large Load Diff