Re: [Qemu-devel] Are there any IOMMU emulation in QEMU for x86 platform
-Original Message- From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo Bonzini Sent: Tuesday, November 19, 2013 1:14 AM To: Jiang, Yunhong Cc: qemu-devel@nongnu.org; da...@gibson.dropbear.id.au; eduard.munte...@linux360.ro Subject: Re: Are there any IOMMU emulation in QEMU for x86 platform Il 19/11/2013 07:34, Jiang, Yunhong ha scritto: Hi, all I noticed there are several patchset has been sent out about IOMMU emulation like http://lists.gnu.org/archive/html/qemu-devel/2011-10/msg03764.html, http://lists.gnu.org/archive/html/qemu-devel/2011-01/msg03196.html . Also I noticed that PPC platform has IOMMU emulation support in QEMU already. Are there any plan to support IOMMU emulation in QEMU for x86 now? Not that I know of. Of course, patches are welcome. Paolo, thanks for reply. --jyh And also, does it requires the real host platform have the IOMMU to support the QEMU IOMMU emulation? Or it will be a purely software emulation? For emulated devices it could be purely software. Nested device assignment would require a host IOMMU, and would require the host IOMMU driver to do some kind of shadow-paging. Paolo
[Qemu-devel] Are there any IOMMU emulation in QEMU for x86 platform
Hi, all I noticed there are several patchset has been sent out about IOMMU emulation like http://lists.gnu.org/archive/html/qemu-devel/2011-10/msg03764.html, http://lists.gnu.org/archive/html/qemu-devel/2011-01/msg03196.html . Also I noticed that PPC platform has IOMMU emulation support in QEMU already. Are there any plan to support IOMMU emulation in QEMU for x86 now? And also, does it requires the real host platform have the IOMMU to support the QEMU IOMMU emulation? Or it will be a purely software emulation? Thanks --jyh
RE: [Qemu-devel] I/O port 0xc000
Is it for IDE port io access? Thanks Yunhong Jiang -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Siim S?ber Sent: 2006年9月5日 7:38 To: qemu-devel@nongnu.org Subject: [Qemu-devel] I/O port 0xc000 Hello all. Can anyone tell me what is at pot 0xc000 in qemu? I need to disable it. Thanks in advance. Siim Sober ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] Two question on serial port emulation
Hi, all I'm using qemu on linux, and I have two questions on the serial port emulation. The serial port means the hardware serial port (/dev/ttyS0 on Linux). 1) Currently tty_serial_init() set the c_oflags as following: tty.c_oflag |= OPOST but it didn't clear the ONLCR/ONLRET etc. This may cause some problem on binary transfer. For example, when transfer 0x0d 0x0a for 0x0a. Following patch may fix this problem, although I'm not sure if we clear OPOST, do we still need to clear ONLCR/OCRNL etc bits. --- vl.c2006-05-04 04:32:58.0 +0800 +++ ../qemu-0.8.1_bogus/vl.c2006-06-01 22:34:09.0 +0800 @@ -1586,7 +1586,8 @@ tty.c_iflag = ~(IGNBRK|BRKINT|PARMRK|ISTRIP |INLCR|IGNCR|ICRNL|IXON); -tty.c_oflag |= OPOST; +tty.c_oflag = ~(ONLCR | OCRNL | ONOCR |ONLRET) ; +tty.c_oflag = ~OPOST; tty.c_lflag = ~(ECHO|ECHONL|ICANON|IEXTEN|ISIG); tty.c_cflag = ~(CSIZE|PARENB|PARODD|CRTSCTS); switch(data_bits) { 2) Currently all write to the serial port will through unix_write(). Considering : a) if the return value is -EAGAIN, it will not try to re-write this again. b) all write will return immetiately. So when guest try to write a lot of data continuously, like using zmodem to transfer file or using serial port for debugger, it may cause application failure (the data is write successfuly from guest point of view, while it failed on the host environment). I changed the write process to multi-thread, but I don't think it is a good method, so how do you think of these? Thanks Yunhong Jiang ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel