|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 17 of 19] tools: libxl: hide selection of device-
Ian Campbell writes ("[Xen-devel] [PATCH 17 of 19] tools: libxl: hide selection
of device-model, hvmloader and BIOS by default"):
> At the libxl API level:
...
> * Add libxl_device_model_info.device_model_version allowing the
> user to say which qemu version (e.g. old qemu-xen or qemu
> upstream) they want for a domain.
Perhaps this ought to be a series of #defines, rather than an
integer ? Integers have the virtue of sortability but it's not clear
that that's important; a series of #defines and corresponding strings
would be easier in the config file I think.
> - if (strstr(dm_info->device_model, "stubdom-dm"))
> + if (strstr(libxl__domain_device_model(&gc, dm_info), "stubdom-dm"))
> *need_memkb += 32 * 1024;
Surely this strstr(,"stubdom-dm",) can be got rid of too, in favour of
"stubdom=1" or something ?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 09 of 19] tools: hvmloader: rename roms.h to roms.inc, (continued)
- [Xen-devel] [PATCH 09 of 19] tools: hvmloader: rename roms.h to roms.inc, Ian Campbell
- [Xen-devel] [PATCH 07 of 19] tools: hvmloader: refactor Makefile to move ROM filenames into variables, Ian Campbell
- [Xen-devel] [PATCH 10 of 19] tools: hvmloader: Define $(OBJS) directly instead of via $(SRCS), Ian Campbell
- [Xen-devel] [PATCH 11 of 19] tools: hvmloader: add bios_config data structure, Ian Campbell
- [Xen-devel] [PATCH 12 of 19] tools: hvmloader: Refactor APIC, PCI and SMP setup into struct bios_config, Ian Campbell
- [Xen-devel] [PATCH 13 of 19] tools: hvmloader: refactor highbios and bios_info setup into struct bios_config, Ian Campbell
- [Xen-devel] [PATCH 14 of 19] tools: hvmloader: Refactor VM86 and E820 setup into struct bios_config, Ian Campbell
- [Xen-devel] [PATCH 16 of 19] tools: hvmloader: Refactor MP table setup into struct bios_config, Ian Campbell
- [Xen-devel] [PATCH 18 of 19] tools: hvmloader: select BIOS through xenstore, Ian Campbell
- [Xen-devel] [PATCH 17 of 19] tools: libxl: hide selection of device-model, hvmloader and BIOS by default, Ian Campbell
- Re: [Xen-devel] [PATCH 17 of 19] tools: libxl: hide selection of device-model, hvmloader and BIOS by default,
Ian Jackson <=
- [Xen-devel] [PATCH 19 of 19] tools: support SeaBIOS. Use by default when upstream qemu is configured, Ian Campbell
- [Xen-devel] [PATCH 15 of 19] tools: hvmloader: Refactor ACPI table setup into struct bios_config, Ian Campbell
|
|
|
|
|