baefd97700
parallels: support bitmap extension for read-only mode
...
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20210224104707.88430-5-vsementsov@virtuozzo.com >
Reviewed-by: Denis V. Lunev <den@openvz.org >
Signed-off-by: Kevin Wolf <kwolf@redhat.com >
2021-03-08 14:56:55 +01:00
e0b5207f54
block/parallels: BDRVParallelsState: add cluster_size field
...
We are going to use it in more places, calculating
"s->tracks << BDRV_SECTOR_BITS" doesn't look good.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20210224104707.88430-4-vsementsov@virtuozzo.com >
Reviewed-by: Denis V. Lunev <den@openvz.org >
Signed-off-by: Kevin Wolf <kwolf@redhat.com >
2021-03-08 14:56:54 +01:00
8f0a3716e4
Clean up includes
...
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.
This commit was created with scripts/clean-includes, with the change
to target/s390x/gen-features.c manually reverted, and blank lines
around deletions collapsed.
Reviewed-by: Eric Blake <eblake@redhat.com >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Message-Id: <20180201111846.21846-3-armbru@redhat.com >
2018-02-09 05:05:11 +01:00
908b1c848e
block/parallels: replace some magic numbers
...
Signed-off-by: Klim Kireev <klim.kireev@virtuozzo.com >
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Signed-off-by: Denis V. Lunev <den@openvz.org >
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Signed-off-by: Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com >
Message-id: 20180112090122.1702-5-klim.kireev@virtuozzo.com
CC: Stefan Hajnoczi <stefanha@redhat.com >
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com >
2018-01-22 14:02:33 +00:00
90fe66f046
block/parallels: move some structures into header
...
To implement xml format, some defines and structures
from parallels.c are required.
Signed-off-by: Klim Kireev <klim.kireev@virtuozzo.com >
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Signed-off-by: Denis V. Lunev <den@openvz.org >
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Signed-off-by: Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com >
Message-id: 20180112090122.1702-4-klim.kireev@virtuozzo.com
CC: Stefan Hajnoczi <stefanha@redhat.com >
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com >
2018-01-22 14:02:33 +00:00