[libvirt] [RFC PATCH 04/12] conf: Add device address type for dimm devices
Daniel P. Berrange
berrange at redhat.com
Mon Feb 9 10:30:23 UTC 2015
On Fri, Jan 30, 2015 at 02:21:01PM +0100, Peter Krempa wrote:
> ACPI Dimm devices are described by the slot and base address. Add a new
> address type to be able to describe such address.
> } virDomainDeviceAddressType;
> @@ -309,6 +310,13 @@ struct _virDomainDeviceISAAddress {
> unsigned int irq;
> };
>
> +typedef struct _virDomainDeviceACPIDimmAddress virDomainDeviceACPIDimmAddress;
> +typedef virDomainDeviceACPIDimmAddress *virDomainDeviceACPIDimmAddressPtr;
> +struct _virDomainDeviceACPIDimmAddress {
> + unsigned int slot;
> + unsigned long long base;
> +};
How are values for 'base' determined by apps filling in these addresses,
or by libvirt ? Are there restrictions on valid values.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list