On Fri, Aug 30, 2013 at 8:32 PM, Andreas Färber <afaer...@suse.de> wrote: > Am 30.08.2013 10:17, schrieb Paolo Bonzini: >> Il 30/08/2013 09:53, Liu Ping Fan ha scritto: >>> qdev's property can not be set after realized, but there is a >>> requirement of adjusting device's behavior on different mother >>> boards. So introducing a callback in sysbus_try_create_simple() >>> to adjust device's property on board's demand. >>> >>> (This patch is needed by the later one which changes hpet's intcap >>> property) >> >> I don't think it is useful to add a new mechanism since there is an >> existing mechanism to set properties for compatibility (which I pointed >> you to earlier). It is also incorrect because this will have an effect >> on all PC boards including pc-q35-1.7 and newer. >> >> You need to create a 1.7 machine like commit 45053fd (pc: Create >> pc-*-1.6 machine-types, 2013-05-27). > > Stefan already has than in his net tree and just needs to (rebase and) > flush his queue! > Thanks, will do like it.
Regards, Pingfan