qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] Enable specifying a non-default Hyper-V vendor ID
@ 2015-10-16 18:53 Alex Williamson
  2015-10-16 18:54 ` [Qemu-devel] [PATCH v3 1/2] qapi: Create DEFINE_PROP_STRING_LEN Alex Williamson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alex Williamson @ 2015-10-16 18:53 UTC (permalink / raw)
  To: qemu-devel, kvm; +Cc: pbonzini, imammedo

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(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-16 23:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-16 18:53 [Qemu-devel] [PATCH v3 0/2] Enable specifying a non-default Hyper-V vendor ID Alex Williamson
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

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).