mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
qga: move qga_get_host_name()
The function is specific to qemu-ga, no need to share it in QEMU. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> Message-Id: <20220420132624.2439741-32-marcandre.lureau@redhat.com>
This commit is contained in:
@@ -656,16 +656,6 @@ int qemu_fdatasync(int fd);
|
||||
*/
|
||||
int qemu_msync(void *addr, size_t length, int fd);
|
||||
|
||||
/**
|
||||
* qemu_get_host_name:
|
||||
* @errp: Error object
|
||||
*
|
||||
* Operating system agnostic way of querying host name.
|
||||
*
|
||||
* Returns allocated hostname (caller should free), NULL on failure.
|
||||
*/
|
||||
char *qemu_get_host_name(Error **errp);
|
||||
|
||||
/**
|
||||
* qemu_get_host_physmem:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user