]> git.proxmox.com Git - qemu.git/commit - qemu-option.c
qemu-option: Reject anti-social IDs
authorMarkus Armbruster <armbru@redhat.com>
Tue, 8 Jun 2010 11:54:26 +0000 (13:54 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Jun 2010 20:46:28 +0000 (15:46 -0500)
commitb560a9ab9be06afcbb78b3791ab836dad208a239
treecf1e0a4593b15effee04bcdf1c8383bd3a44a467
parent1bb650420021ced718d550559034a5147c053068
qemu-option: Reject anti-social IDs

Restrict IDs to letters, digits, '-', '.', '_', starting with a
letter.

This takes care of '/' in qdev IDs breaking qbus_find().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-option.c