[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 80/86] hostmem: introduce "prealloc-threads" property
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH v2 80/86] hostmem: introduce "prealloc-threads" property |
Date: |
Wed, 15 Jan 2020 17:03:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
On 15/01/20 16:07, Igor Mammedov wrote:
> + static GlobalProperty p[] = {
> + {"memory-backend", "prealloc-threads", NULL},
> + };
> +
> + p[0].value = g_strdup_printf("%d", current_machine->smp.cpus);
> + compat_props_add(machine_class->compat_props, p, G_N_ELEMENTS(p));
> + }
> +
object_register_sugar_prop might be slightly cleaner.
Paolo
- Re: [PATCH v2 71/86] ppc:virtex_ml507: use memdev for RAM, (continued)
- [PATCH v2 70/86] ppc:virtex_ml507: remove unused arguments, Igor Mammedov, 2020/01/15
- [PATCH v2 73/86] sparc:sun4m: use memdev for RAM, Igor Mammedov, 2020/01/15
- [PATCH v2 75/86] remove no longer used memory_region_allocate_system_memory(), Igor Mammedov, 2020/01/15
- [PATCH v2 78/86] exec: drop bogus mem_path from qemu_ram_alloc_from_fd(), Igor Mammedov, 2020/01/15
- [PATCH v2 79/86] make mem_path local variable, Igor Mammedov, 2020/01/15
- [PATCH v2 77/86] exec: cleanup qemu_minrampagesize()/qemu_maxrampagesize(), Igor Mammedov, 2020/01/15
- [PATCH v2 80/86] hostmem: introduce "prealloc-threads" property, Igor Mammedov, 2020/01/15
- Re: [PATCH v2 80/86] hostmem: introduce "prealloc-threads" property,
Paolo Bonzini <=
[PATCH v2 76/86] post conversion default_ram_id cleanup, Igor Mammedov, 2020/01/15
[PATCH v2 81/86] hostmem: fix strict bind policy, Igor Mammedov, 2020/01/15
[PATCH v2 84/86] tests:numa-test: use explicit memdev to specify node RAM, Igor Mammedov, 2020/01/15
[PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Igor Mammedov, 2020/01/15