On 2012-02-16 00:16, Igor Mammedov wrote:
> +static ICCBusDeviceInfo cpu_device_info = {
> + .qdev.name = "cpu-pc",
> + .qdev.size = sizeof(CPUPC),
> + .qdev.reset = cpu_device_reset,
> + .init = cpu_device_init,
> + .qdev.props = (Property[]) {
> + DEFINE_PROP_STRING("model", CPUPC, model),
And how do you pass in feature flags? Or the core layout? Basically both
-cpu and -smp need to be expressible via multiple "-device cpu-x86,xxx"
(not "pc") commands. As a shortcut, "-smp N" would continue to replicate
a "-device cpu-XX" N times. Otherwise, configuration becomes inconsistent.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux