提交 57338424 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

Revert "ide save/restore current transfer fields"

This reverts commit 42ee76fe.
Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 3abb6260
......@@ -123,7 +123,7 @@ void bmdma_addr_writel(void *opaque, uint32_t addr, uint32_t val)
static const VMStateDescription vmstate_bmdma = {
.name = "ide bmdma",
.version_id = 4,
.version_id = 3,
.minimum_version_id = 0,
.minimum_version_id_old = 0,
.fields = (VMStateField []) {
......@@ -133,10 +133,6 @@ static const VMStateDescription vmstate_bmdma = {
VMSTATE_INT64(sector_num, BMDMAState),
VMSTATE_UINT32(nsector, BMDMAState),
VMSTATE_UINT8(unit, BMDMAState),
VMSTATE_UINT32_V(cur_addr, BMDMAState, 4),
VMSTATE_UINT32_V(cur_prd_last, BMDMAState, 4),
VMSTATE_UINT32_V(cur_prd_addr, BMDMAState, 4),
VMSTATE_UINT32_V(cur_prd_len, BMDMAState, 4),
VMSTATE_END_OF_LIST()
}
};
......@@ -156,7 +152,7 @@ static int ide_pci_post_load(void *opaque, int version_id)
const VMStateDescription vmstate_ide_pci = {
.name = "ide",
.version_id = 4,
.version_id = 3,
.minimum_version_id = 0,
.minimum_version_id_old = 0,
.post_load = ide_pci_post_load,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册