]> git.proxmox.com Git - qemu-server.git/commit
fix aio O_DIRECT check for cdrom drives
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 2 Jun 2015 14:04:26 +0000 (16:04 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 2 Jun 2015 14:11:01 +0000 (16:11 +0200)
commitb2ee900e3c32e59c29ff8d75464babac6742c5b3
treee39ca13b432216531acff208645da0cd9f39c81c
parentc6f773b818bee4ecbddc5981f578203c4ee9c03c
fix aio O_DIRECT check for cdrom drives

Only non-cdrom drives default to cache=none, so the check
for whether to default to aio=native needs to take the same
condition into account.
I combined them close together to make their relation more
visible.
PVE/QemuServer.pm