From: Alex Williamson <alex.williamson@redhat.com>
To: qemu-devel@nongnu.org, kvm@vger.kernel.org
Cc: pbonzini@redhat.com, imammedo@redhat.com
Subject: [Qemu-devel] [PATCH v3 0/2] Enable specifying a non-default Hyper-V vendor ID
Date: Fri, 16 Oct 2015 12:53:59 -0600 [thread overview]
Message-ID: <20151016184627.1248.63936.stgit@gimli.home> (raw)
v3: Incorporate suggestion from Igor to move the string length test
out to the property parsing. A string that's too long will now
get an error like:
$ qemu-system-x86_64 -cpu qemu64,hv_vendor_id=123456789abcd
qemu-system-x86_64: Property 'host-x86_64-cpu.hv-vendor-id' doesn't take value '123456789abcd'
v2: Remove abort, but truncate string
---
Alex Williamson (2):
qapi: Create DEFINE_PROP_STRING_LEN
kvm: Allow the Hyper-V vendor ID to be specified
hw/core/qdev-properties.c | 7 +++++++
include/hw/qdev-core.h | 1 +
include/hw/qdev-properties.h | 16 ++++++++++++++--
target-i386/cpu-qom.h | 1 +
target-i386/cpu.c | 1 +
target-i386/kvm.c | 8 +++++++-
6 files changed, 31 insertions(+), 3 deletions(-)
next reply other threads:[~2015-10-16 18:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-16 18:53 Alex Williamson [this message]
2015-10-16 18:54 ` [Qemu-devel] [PATCH v3 1/2] qapi: Create DEFINE_PROP_STRING_LEN Alex Williamson
2015-10-16 18:54 ` [Qemu-devel] [PATCH v3 2/2] kvm: Allow the Hyper-V vendor ID to be specified Alex Williamson
2015-10-16 23:06 ` [Qemu-devel] [PATCH v3 0/2] Enable specifying a non-default Hyper-V vendor ID Amos Jianjun Kong
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=20151016184627.1248.63936.stgit@gimli.home \
--to=alex.williamson@redhat.com \
--cc=imammedo@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
--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).