From: Paolo Bonzini <pbonzini@redhat.com>
To: Alex Williamson <alex.williamson@redhat.com>,
qemu-devel@nongnu.org, kvm@vger.kernel.org
Cc: imammedo@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2] kvm: Allow the Hyper-V vendor ID to be specified
Date: Mon, 19 Oct 2015 10:08:42 +0200 [thread overview]
Message-ID: <5624A50A.1040107@redhat.com> (raw)
In-Reply-To: <20151016153356.28104.48612.stgit@gimli.home>
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@redhat.com>
> ---
>
> 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
prev parent reply other threads:[~2015-10-19 8:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-16 15:38 [Qemu-devel] [PATCH v2] kvm: Allow the Hyper-V vendor ID to be specified Alex Williamson
2015-10-19 8:08 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5624A50A.1040107@redhat.com \
--to=pbonzini@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=imammedo@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).