qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1


From: Chunqiang Tang
Subject: Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1
Date: Fri, 21 Jan 2011 21:51:50 -0500

> > -void qemu_bh_schedule(QEMUBH *bh)
> > -{
> > -    bh->cb(bh->opaque);
> > -}
> > -
> > -void qemu_bh_cancel(QEMUBH *bh)
> > -{
> > -}
> > -
> > -void qemu_bh_delete(QEMUBH *bh)
> > -{
> > -    qemu_free(bh);
> > -}
> > -
> >   int qemu_set_fd_handler2(int fd,
> >                            IOCanReadHandler *fd_read_poll,
> >                            IOHandler *fd_read,
> > 
> 
> These functions surely cannot just be deleted like this.

These functions were not deleted but instead moved into a separate file 
qemu-tool-time.c, because those functions are time related and the 
implementations are different in the simulation mode and in the real mode. 
In the latest patches, these functions are kept in qemu-tool.c but their 
implementations support both cases based on a switch.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]