Re: [RFC PATCH 04/12] conf: Add device address type for dimm devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]