mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
qemu: Drop unused formatting of uuid
The formatted UUID isn't used anywhere else in qemuDomainCheckDiskStartupPolicy. Drop it.
This commit is contained in:
parent
18a6dc93e5
commit
7c7981eb79
@ -2439,12 +2439,9 @@ qemuDomainCheckDiskStartupPolicy(virQEMUDriverPtr driver,
|
||||
size_t diskIndex,
|
||||
bool cold_boot)
|
||||
{
|
||||
char uuid[VIR_UUID_STRING_BUFLEN];
|
||||
int startupPolicy = vm->def->disks[diskIndex]->startupPolicy;
|
||||
int device = vm->def->disks[diskIndex]->device;
|
||||
|
||||
virUUIDFormat(vm->def->uuid, uuid);
|
||||
|
||||
switch ((virDomainStartupPolicy) startupPolicy) {
|
||||
case VIR_DOMAIN_STARTUP_POLICY_OPTIONAL:
|
||||
/* Once started with an optional disk, qemu saves its section
|
||||
|
Loading…
Reference in New Issue
Block a user