qga/commands-posix: Rework build_guest_fsinfo_for_real_device() function
commitd9fe4f0fea31f0560dc40d3576bc6c48ad97109f
authorThomas Huth <thuth@redhat.com>
Wed, 22 Jul 2020 04:40:26 +0000 (22 06:40 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Sun, 13 Sep 2020 01:36:20 +0000 (12 20:36 -0500)
tree952c74e7fede1b6f99cf52b825358f7c4f4a8a45
parentc47edb8dda0660180f86df4defae2a1f60e345db
qga/commands-posix: Rework build_guest_fsinfo_for_real_device() function

We are going to support non-PCI devices soon. For this we need to split
the generic GuestDiskAddress and GuestDiskAddressList memory allocation
and list chaining into a separate function first.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c