mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemuBuildRNGBackendChrdevStr: Fix formatting
The way that the code is currently written makes my eyes hurt. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
c57adc3300
commit
6a6925b9b7
@ -5763,9 +5763,11 @@ qemuBuildRNGBackendChrdevStr(virLogManagerPtr logManager,
|
|||||||
{
|
{
|
||||||
unsigned int cdevflags = QEMU_BUILD_CHARDEV_TCP_NOWAIT |
|
unsigned int cdevflags = QEMU_BUILD_CHARDEV_TCP_NOWAIT |
|
||||||
QEMU_BUILD_CHARDEV_UNIX_FD_PASS;
|
QEMU_BUILD_CHARDEV_UNIX_FD_PASS;
|
||||||
|
|
||||||
|
*chr = NULL;
|
||||||
|
|
||||||
if (chardevStdioLogd)
|
if (chardevStdioLogd)
|
||||||
cdevflags |= QEMU_BUILD_CHARDEV_FILE_LOGD;
|
cdevflags |= QEMU_BUILD_CHARDEV_FILE_LOGD;
|
||||||
*chr = NULL;
|
|
||||||
|
|
||||||
switch ((virDomainRNGBackend) rng->backend) {
|
switch ((virDomainRNGBackend) rng->backend) {
|
||||||
case VIR_DOMAIN_RNG_BACKEND_RANDOM:
|
case VIR_DOMAIN_RNG_BACKEND_RANDOM:
|
||||||
|
Loading…
Reference in New Issue
Block a user