[Xen-devel] [PATCH 3/8] kexec: add public interface for improved load/unload sub-ops
David Vrabel
david.vrabel at citrix.com
Fri Apr 12 07:56:32 EDT 2013
On 09/04/13 08:32, Jan Beulich wrote:
>>>> On 08.04.13 at 20:59, David Vrabel <david.vrabel at citrix.com> wrote:
>> @@ -152,6 +152,63 @@ typedef struct xen_kexec_range {
>> unsigned long start;
>> } xen_kexec_range_t;
>>
>> +#if __XEN_INTERFACE_VERSION__ >= 0x00040300
>> +/*
>> + * A contiguous chunk of a kexec image and it's destination machine
>> + * address.
>> + */
>> +typedef struct xen_kexec_segment {
>> + XEN_GUEST_HANDLE_64(const_void) buf;
>> + uint64_t buf_size;
>> + uint64_t dest_maddr;
>> + uint64_t dest_size;
>
> So you made uint64_aligned_t available in the previous patch,
> but now you don't use it?
It's not needed here. Should I use uint64_aligned_t anyway?
It was easier to make both XEN_GUEST_HANDLE_64() and uint64_aligned_t
available than to make only one.
David
More information about the kexec
mailing list