mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 09:55:18 +00:00
Fix arch datatype in vahControl in virt-aa-helper.c
When changing to virArch, the virt-aa-helper.c file was not completely changed. The vahControl struct was left with a char *arch field, instead of virArch arch field.
This commit is contained in:
parent
012ff583fe
commit
dc068e35c0
@ -72,7 +72,7 @@ typedef struct {
|
||||
virDomainDefPtr def; /* VM definition */
|
||||
virCapsPtr caps; /* VM capabilities */
|
||||
char *hvm; /* type of hypervisor (eg hvm, xen) */
|
||||
char *arch; /* machine architecture */
|
||||
virArch arch; /* machine architecture */
|
||||
char *newfile; /* newly added file */
|
||||
bool append; /* append to .files instead of rewrite */
|
||||
} vahControl;
|
||||
@ -87,7 +87,6 @@ vahDeinit(vahControl * ctl)
|
||||
virCapabilitiesFree(ctl->caps);
|
||||
VIR_FREE(ctl->files);
|
||||
VIR_FREE(ctl->hvm);
|
||||
VIR_FREE(ctl->arch);
|
||||
VIR_FREE(ctl->newfile);
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user