On 16/10/2015 17:38, Alex Williamson wrote: > According to Microsoft documentation, the signature in the standard > hypervisor CPUID leaf at 0x40000000 identifies the Vendor ID and is > for reporting and diagnostic purposes only. We can therefore allow > the user to change it to whatever they want, within the 12 character > limit. Add a new hyperv-vendor-id option to the -cpu flag to allow > for this, ex: > > -cpu host,hv_time,hv_vendor_id=KeenlyKVM > > Link: http://msdn.microsoft.com/library/windows/hardware/hh975392 > Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx> > --- > > v2: Replace abort() with truncating the string, error report updated > > Igor also had the idea of creating a DEFINE_PROP_STRING_LEN property > where we could enforce the length earlier in the parameter checking. > If we like that idea, we probably need to do it first since we don't > want to switch from truncating to erroring between releases. I can > work on that if preferred. Thanks, I applied this one, because the truncation matches what is done in other places (ACPI tables, SCSI product/vendor, etc.) Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html