]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/qemu-xen-traditional.git/commit
Switch from xc_{set,get}_hvm_param to xc_hvm_param_{set,get}
authorIan Campbell <ian.campbell@citrix.com>
Thu, 28 Jan 2016 15:02:01 +0000 (15:02 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 28 Jan 2016 15:30:38 +0000 (15:30 +0000)
commitc7febf44966fd760b19438fbe837e06dd4842d60
tree42ca54e5869de1cdd8293d893cb01b62b61c9ffb
parent21f6526d1da331611ac5fe12967549d1a04e149b
Switch from xc_{set,get}_hvm_param to xc_hvm_param_{set,get}

The former have been deprecated for some time (they take unsigned
longs, not uint64_t's, and therefore risk truncation for some params)
and I'm about to remove them.

Since _get takes a uint64_t * for the output instead of an unsigned
long * it is necessary to change the types of a few variables. I
checked each case would be OK with it and either the variable is
already downcast (to something like a uint32_t) when it is
subsequently used or it was used as a wider type already (so this
change might resolve a latent bug under some circumstances?).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
hw/pc.c
hw/piix4acpi.c
hw/xen_machine_fv.c
i386-dm/helper2.c