I'm not sure all experience the same as me, but it may be worth having a
look at the workaround I found, described here : http://bugs.debian.org
/cgi-bin/bugreport.cgi?bug=579166#17
Hth.
--
Windows XP/2003 doesn't boot
https://bugs.launchpad.net/bugs/586175
You received this bug notification bec
Anthony Liguori writes:
> On 07/21/2010 04:58 PM, Daniel P. Berrange wrote:
>>> Yes there is. Use the version number.
>>>
>> The version number is not suitable, because features can be removed at
>> compile time and/or
>
> I don't see any features that libvirt would need to know about that
On Thu, Jul 22, 2010 at 12:45 AM, Mike McCormack wrote:
> Signed-off-by: Mike McCormack
> ---
> hw/vhost.c | 2 ++
> hw/vhost_net.c | 2 ++
> 2 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/hw/vhost.c b/hw/vhost.c
> index d37a66e..e1cd4d2 100644
> --- a/hw/vhost.c
> +
On Thu, Jul 22, 2010 at 11:33:32AM +0900, Isaku Yamahata wrote:
> Ping?
You said you will rebase and repost?
> On Tue, Jul 13, 2010 at 01:01:38PM +0900, Isaku Yamahata wrote:
> > Changes v2 -> v1:
> v3
> > - dropped first patch as it is merdged.
> > - rebased to mst's pci branch.
On Wed, Jul 21, 2010 at 06:39:32PM -0500, Anthony Liguori wrote:
> On 07/21/2010 04:58 PM, Daniel P. Berrange wrote:
> >>Yes there is. Use the version number.
> >>
> >The version number is not suitable, because features can be removed at
> >compile time and/or
>
> I don't see any features th
On Thu, Jul 22, 2010 at 11:28:27AM +0300, Michael S. Tsirkin wrote:
> On Thu, Jul 22, 2010 at 11:33:32AM +0900, Isaku Yamahata wrote:
> > Ping?
>
> You said you will rebase and repost?
This is it. Probably there was a race between them
>
> > On Tue, Jul 13, 2010 at 01:01:38PM +0900, Isaku Yamah
On Thu, Jul 22, 2010 at 05:51:21PM +0900, Isaku Yamahata wrote:
> On Thu, Jul 22, 2010 at 11:28:27AM +0300, Michael S. Tsirkin wrote:
> > On Thu, Jul 22, 2010 at 11:33:32AM +0900, Isaku Yamahata wrote:
> > > Ping?
> >
> > You said you will rebase and repost?
>
> This is it. Probably there was a r
Chen Yufei wrote:
> On 2010-7-22, at 上午1:04, Stefan Weil wrote:
>
>> Am 21.07.2010 09:03, schrieb Chen Yufei:
>>> On 2010-7-21, at 上午5:43, Blue Swirl wrote:
>>>
>>>
On Sat, Jul 17, 2010 at 10:27 AM, Chen Yufei wrote:
> We are pleased to announce COREMU, which is a "multicore
Hi,
I'm seeing an error when emulating MIPS guests with -icount.
In cpu_interrupt:
cpu_abort(env, "Raised interrupt while not in I/O function");
It seems to me like the MIPS interrupt glue logic between interrupt
controllers and the MIPS core is not modeled correctly.
When hw interrupt pending
On Mon, May 24, 2010 at 12:35:20AM +0200, Laurent Vivier wrote:
> From: Laurent Vivier
>
> As it is done for qemu-system with "-cpu ?", when cpu_list_id() is missing
> for a target, call cpu_list() instead.
>
> Signed-off-by: Laurent Vivier
> ---
> linux-user/main.c |2 ++
> 1 files change
On Fri, Jun 25, 2010 at 04:56:48PM +0200, Jan Kiszka wrote:
> This series unbreaks -smp >1 and guest debugging in CONFIG_IOTHREAD
> mode. I still find the SMP scheduling in cpu_exec_all suboptimal, but
> at least it works now.
>
> Dependencies are:
> http://thread.gmane.org/gmane.comp.emulators.kv
On Wed, Jun 23, 2010 at 10:49:20PM +0530, Amit Shah wrote:
> Starting with qemu -M pc-0.12 -device virtio-serial
>
> results in
>
> -device virtio-serial: Property 'virtio-serial-pci.max_nr_ports' not found
>
> The property name 'max_ports' is incorrectly named 'max_nr_ports'. Fix
> that.
>
> A
On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei wrote:
> On 2010-7-22, at 上午1:04, Stefan Weil wrote:
>
>> Am 21.07.2010 09:03, schrieb Chen Yufei:
>>> On 2010-7-21, at 上午5:43, Blue Swirl wrote:
>>>
>>>
On Sat, Jul 17, 2010 at 10:27 AM, Chen Yufei wrote:
> We are pleased to announce CORE
On Mon, Jul 19, 2010 at 06:23:17PM +0200, Stefan Weil wrote:
> Both values are only used in exec.c, so there is no need
> to make them globally available.
>
> Signed-off-by: Stefan Weil
> ---
> exec-all.h |2 --
> exec.c |4 ++--
> 2 files changed, 2 insertions(+), 4 deletions(-)
Th
On Sat, Jul 10, 2010 at 11:03:45PM +0900, Izumi Tsutsui wrote:
> This change fixes initialization of e1000's microwire EEPROM internal
> state values so that qemu's e1000 emulation works on NetBSD,
> which doesn't use Intel's em driver but has its own wm driver
> for the Intel i8254x Gigabit Ethern
On Tue, Jul 13, 2010 at 02:13:45PM +0200, Jan Kiszka wrote:
> The request completion callback of the LSI controller may start the next
> request that can use the same tag as the completed one. As the latter is
> still enqueued at that point, scsi_send_command will complain about the
> tag reuse and
Stefan Hajnoczi wrote:
> On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei wrote:
>> On 2010-7-22, at 上午1:04, Stefan Weil wrote:
>>
>>> Am 21.07.2010 09:03, schrieb Chen Yufei:
On 2010-7-21, at 上午5:43, Blue Swirl wrote:
> On Sat, Jul 17, 2010 at 10:27 AM, Chen Yufei wrote:
>
On Tue, Jul 13, 2010 at 07:37:01PM +0200, Aurelien Jarno wrote:
> Hi all,
>
> A few people requested a new stable release. The current stable branch
> already contains quite a few patches, that have been cherry-picked at
> the same time they have been committed to HEAD, but some important
> patche
2010/7/22 Jan Kiszka :
> Stefan Hajnoczi wrote:
>> On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei wrote:
>>> On 2010-7-22, at 上午1:04, Stefan Weil wrote:
>>>
Am 21.07.2010 09:03, schrieb Chen Yufei:
> On 2010-7-21, at 上午5:43, Blue Swirl wrote:
>
>
>> On Sat, Jul 17, 2010 at 10:27
On Wed, 21 Jul 2010 20:06:56 +0100
"Daniel P. Berrange" wrote:
> On Wed, Jul 21, 2010 at 03:44:14PM -0300, Luiz Capitulino wrote:
> > On Sun, 18 Jul 2010 15:43:55 +0300
> > Michael Goldish wrote:
> >
> > > Signed-off-by: Michael Goldish
> >
> > Do you need this for 0.13? I think the developme
On Wed, 21 Jul 2010 23:30:56 +0300
Michael Goldish wrote:
> On 07/21/2010 09:44 PM, Luiz Capitulino wrote:
> > On Sun, 18 Jul 2010 15:43:55 +0300
> > Michael Goldish wrote:
> >
> >> Signed-off-by: Michael Goldish
> >
> > Do you need this for 0.13? I think the development window is already clo
On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino wrote:
> On Wed, 21 Jul 2010 20:06:56 +0100
> "Daniel P. Berrange" wrote:
>
> > On Wed, Jul 21, 2010 at 03:44:14PM -0300, Luiz Capitulino wrote:
> > > Another related issue is that, this probably should an async handler. But
> > > as we do
On Wed, 21 Jul 2010 15:55:28 -0500
Anthony Liguori wrote:
> On 07/21/2010 03:32 PM, Bruce Rogers wrote:
> > Libvirt parses qemu help output to determine qemu features. In particular
> > it probes for the following: "cache=writethrough|writeback|none". The
> > addition of the unsafe cache mode
On Thu, 22 Jul 2010 14:45:35 +0100
"Daniel P. Berrange" wrote:
> On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino wrote:
> > On Wed, 21 Jul 2010 20:06:56 +0100
> > "Daniel P. Berrange" wrote:
> >
> > > On Wed, Jul 21, 2010 at 03:44:14PM -0300, Luiz Capitulino wrote:
> > > > Another rel
Corentin Chary wrote:
Hi,
I was working on merging VNC updates into bigger ones to see if it
lower the overhead (big updates sometime use less network/cpu than a
lot of small updates).
For that, I needed some new bitmap functions, and no we got, in vnc.c:
- set_bit
- clear_bit
- set_bits
- clear_
On Thu, Jul 22, 2010 at 10:50:00AM -0300, Luiz Capitulino wrote:
> On Thu, 22 Jul 2010 14:45:35 +0100
> "Daniel P. Berrange" wrote:
>
> > On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino wrote:
> > > On Wed, 21 Jul 2010 20:06:56 +0100
> > > "Daniel P. Berrange" wrote:
> > >
> > > > On
Hi all,
while working on NUMA host pinning, I experimented with vCPU affinity
within QEMU, but left it alone as it would complicate the code and would
not achieve better experience than using taskset with the monitor
provided thread ids like it is done currently. During that I looked at
Linux
On 07/22/2010 03:42 AM, Daniel P. Berrange wrote:
On Wed, Jul 21, 2010 at 06:39:32PM -0500, Anthony Liguori wrote:
On 07/21/2010 04:58 PM, Daniel P. Berrange wrote:
Yes there is. Use the version number.
The version number is not suitable, because features can be removed a
On Thu, 22 Jul 2010 15:03:27 +0100
"Daniel P. Berrange" wrote:
> On Thu, Jul 22, 2010 at 10:50:00AM -0300, Luiz Capitulino wrote:
> > On Thu, 22 Jul 2010 14:45:35 +0100
> > "Daniel P. Berrange" wrote:
> >
> > > On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino wrote:
> > > > On Wed, 21
On Thu, Jul 22, 2010 at 04:03:13PM +0200, Andre Przywara wrote:
> Hi all,
>
> while working on NUMA host pinning, I experimented with vCPU affinity
> within QEMU, but left it alone as it would complicate the code and would
> not achieve better experience than using taskset with the monitor
> pr
This commit add the following new key to QMP's greeting message:
"warning": "QMP is unstable, it will change soon!"
The goal is to go beyond document warnings with regard to QMP's
current state.
Signed-off-by: Luiz Capitulino
---
QMP/README |2 +-
monitor.c |3 ++-
2 files changed,
A number of changes I prefer to do in one shot:
- Add a note about instability
- Add multiple monitors example
- Add 'Development Process' section
- Small clarifications
Signed-off-by: Luiz Capitulino
---
QMP/README | 67 +--
1 files cha
This is good for 0.13, please check individual patches for details.
Thanks.
On Wed, 21 Jul 2010 17:27:47 +0900, Dallas Lee wrote:
> Hi,
>
> I have trying to use the virtio-9p for my linux in QEMU, but without
> success.
>
> Here is my option for booting my qemu:
> i386-softmmu/qemu -kernel bzImage -append "console=ttyS0
> video=uvesafb:ywrap,overlay:rgb16,480x800...@60
在 2010年7月22日 下午9:00,Jan Kiszka 写道:
> Stefan Hajnoczi wrote:
>> On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei wrote:
>>> On 2010-7-22, at 上午1:04, Stefan Weil wrote:
>>>
Am 21.07.2010 09:03, schrieb Chen Yufei:
> On 2010-7-21, at 上午5:43, Blue Swirl wrote:
>
>
>> On Sat, Jul 17, 2
2010/7/22 wang Tiger :
> 在 2010年7月22日 下午9:00,Jan Kiszka 写道:
>> Stefan Hajnoczi wrote:
>>> On Thu, Jul 22, 2010 at 9:48 AM, Chen Yufei wrote:
On 2010-7-22, at 上午1:04, Stefan Weil wrote:
> Am 21.07.2010 09:03, schrieb Chen Yufei:
>> On 2010-7-21, at 上午5:43, Blue Swirl wrote:
>
Create a Hardlink.
SYNOPSIS
size[4] Tlink tag[2] dfid[4] oldfid[4] newpath[s]
size[4] Rlink tag[2]
DESCRIPTION
Create a link 'newpath' in directory pointed by dfid linking to oldfid path.
Signed-off-by: Venkateswararao Jujjuri
---
hw/virtio-9p-debug.c |9 +
hw/virtio-9p.c
From: Sripathi Kodi
SYNOPSIS
size[4] Tsetattr tag[2] attr[n]
size[4] Rsetattr tag[2]
DESCRIPTION
The setattr command changes some of the file status information.
attr resembles the iattr structure used in Linux kernel. It
specifies which status parameter is to
From: M. Mohan Kumar
Implement statfs support in qemu server based on Sripathi's
initial statfs patch.
Signed-off-by: M. Mohan Kumar
Signed-off-by: Sripathi Kodi
Signed-off-by: Venkateswararao Jujjuri
---
hw/file-op-9p.h |1 +
hw/virtio-9p-local.c |6
hw/virtio-9p.c |
From: M. Mohan Kumar
Make 9P server recognize 9P2000.L protocol version
Signed-off-by: M. Mohan Kumar
Signed-off-by: Venkateswararao Jujjuri
---
hw/virtio-9p.c |6 +-
hw/virtio-9p.h |6 ++
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/virt
This patch implements creating a symlink for TSYMLINK request
and responds with RSYMLINK. In the case of error, we return RERROR.
SYNOPSIS
size[4] Tsymlink tag[2] fid[4] name[s] symtgt[s] gid[4]
size[4] Rsymlink tag[2] qid[13]
DESCRIPTION
Create a symbolic link named 'name' poi
From: Aneesh Kumar K.V
We want to add type specific operation during read/write
Signed-off-by: Aneesh Kumar K.V
---
hw/virtio-9p.c | 110 ---
hw/virtio-9p.h | 24 +++-
2 files changed, 78 insertions(+), 56 deletions(-)
diff --git
From: M. Mohan Kumar
Synopsis
size[4] Tmkdir tag[2] fid[4] name[s] mode[4] gid[4]
size[4] Rmkdir tag[2] qid[13]
Description
mkdir asks the file server to create a directory with given name,
mode and gid. The qid for the new directory is returned with
the mkdir reply messag
Signed-off-by: Venkateswararao Jujjuri
---
hw/virtio-9p.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c
index 2a8deb9..4e7f2cb 100644
--- a/hw/virtio-9p.c
+++ b/hw/virtio-9p.c
@@ -2817,15 +2817,15 @@ static void v9fs_wstat_po
From: M. Mohan Kumar
Compute iounit based on the host filesystem block size and pass it to
client with open/create response. Also return iounit as statfs's f_bsize
for optimal block size transfers.
Signed-off-by: M. Mohan Kumar
Reviewd-by: Sripathi Kodi
Signed-off-by: Venkateswararao Jujjuri
SYNOPSIS
size[4] Tlcreate tag[2] fid[4] name[s] flags[4] mode[4] gid[4]
size[4] Rlcreate tag[2] qid[13] iounit[4]
DESCRIPTION
The Tlreate request asks the file server to create a new regular file with the
name supplied, in the directory (dir) represented by fid.
The mode argument specif
From: Aneesh Kumar K.V
This is equivalent to SM_PASSTHROUGH security model.
The only exception is, failure of privilige operation like chown
are ignored. This makes a passthrough like security model usable
for people who runs kvm as non root
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkat
From: Sripathi Kodi
Currently v9fs_do_utimensat takes a V9fsStat argument and builds
timespec structures. It sets tv_nsec values to 0 by default. Instead
of this it should take struct timespec[2] and pass it down to the
system directly. This will make it more generic and useful
elsewhere.
Signed
From: M. Mohan Kumar
Implement TMKNOD as part of 2000.L Work
Synopsis
size[4] Tmknod tag[2] fid[4] name[s] mode[4] major[4] minor[4] gid[4]
size[4] Rmknod tag[2] qid[13]
Description
mknod asks the file server to create a device node with given device
type, mode and gid. The q
From: Aneesh Kumar K.V
TXATTRWALK: Descend a ATTR namespace
size[4] TXATTRWALK tag[2] fid[4] newfid[4] name[s]
size[4] RXATTRWALK tag[2] size[8]
txattrwalk gets a fid pointing to xattr. This fid can later be
used to get read the xattr value. If name is NULL the fid returned
can be used to get
From: Aneesh Kumar K.V
We should always use functions which don't follow
symlink on the server
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri
---
hw/virtio-9p-local.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/virtio-9p-local.c b/hw/vi
From: M. Mohan Kumar
size[4] Trename tag[2] fid[4] newdirfid[4] name[s]
size[4] Rrename tag[2]
Implement the 2000.L rename operation. A new function
v9fs_complete_rename is introduced that acts as a common entry point
for 2000.L rename operation and 2000.U rename opearation (via wstat).
As part
From: Aneesh Kumar K.V
TXATTRCREATE: Prepare a fid for setting xattr value on a file system object.
size[4] TXATTRCREATE tag[2] fid[4] name[s] attr_size[8] flags[4]
size[4] RXATTRWALK tag[2]
txattrcreate gets a fid pointing to xattr. This fid can later be
used to get set the xattr value.
fl
From: M. Mohan Kumar
Implement 9p2000.L version of open(LOPEN) interface in qemu 9p server.
For LOPEN, no need to convert the flags to and from 9p mode to VFS mode.
Synopsis:
size[4] Tlopen tag[2] fid[4] mode[4]
size[4] Rlopen tag[2] qid[13] iounit[4]
Current qemu 9p server does not
This patch series is a consolidated view of various VirtFS patches on the
Mailing List.
None of these patches are new in this series.
For sometime all these patches were on the mainling list individually.
Changes from V2:
- Couple of formatting issues
- Fixed fid_type checks in BUG_ON()
Signed-o
From: Aneesh Kumar K.V
The arguments are wrong. Use qemu_mallocz directly
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri
---
hw/virtio-9p.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c
index 6899070..2a8deb9
From: Aneesh Kumar K.V
With mapped security mode we use "user.virtfs" namespace is used
to store the virtFs related attributes. So hide it from user.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri
---
hw/virtio-9p-local.c | 71
Signed-off-by: Stefan Hajnoczi
---
simpletrace.py | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/simpletrace.py b/simpletrace.py
index 2271860..c951023 100755
--- a/simpletrace.py
+++ b/simpletrace.py
@@ -1,4 +1,14 @@
#!/usr/bin/env python
+#
+# Pretty-
Simple trace prototypes should not be in the tracetool code generator.
It is easier to modify and debug the code if they are in a regular C
header file.
Signed-off-by: Stefan Hajnoczi
---
This patch is against the tracing branch:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/tracing
Signed-off-by: Stefan Hajnoczi
---
trace-events |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/trace-events b/trace-events
index 5304826..a50215f 100644
--- a/trace-events
+++ b/trace-events
@@ -63,4 +63,4 @@ disable virtio_blk_handle_write(void *req, unsigned long
sec
The trace file format needs a header so that future extension is
possible. There is a version number that can be bumped when file format
changes are made.
There is still the issue of endianness and sizeof(long). This patch
does not address those.
Signed-off-by: Stefan Hajnoczi
---
simpletrace
From: Sripathi Kodi
Signed-off-by: Sripathi Kodi
In v9fs_remove_post_remove() we currently ignore the error returned by
the previous call to remove() and return an error only if freeing the
fid fails. However, the client expects to see the error from remove().
Currently the client falsely think
From: M. Mohan Kumar
Current code resets file's atime to 0 when there is a change in mtime.
This results in resetting the atime to "1970-01-01 05:30:00". For
example, truncate -s 0 filename results in changing the mtime to the
truncate time, but resets the atime to "1970-01-01 05:
From: Sripathi Kodi
SYNOPSIS
size[4] Tgetattr tag[2] fid[4] request_mask[8]
size[4] Rgetattr tag[2] lstat[n]
DESCRIPTION
The getattr transaction inquires about the file identified by fid.
request_mask is a bit mask
Am 21.07.2010 22:05, schrieb Joel Schopp:
I have decided to apply the broken window theory of crime
http://en.wikipedia.org/wiki/Broken_windows_theory to code, and
more specifically to qemu. I'm hoping that fixing seemingly trivial
bugs will actually fix some more serious bugs, make the code run
From: Sripathi Kodi
This patch implements the server part of readdir() implementation for
9p2000.L
SYNOPSIS
size[4] Treaddir tag[2] fid[4] offset[8] count[4]
size[4] Rreaddir tag[2] count[4] data[count]
DESCRIPTION
The readdir request asks the server to read the directory
On Tue, Jul 20, 2010 at 9:57 PM, Stefan Hajnoczi wrote:
>
> On Tue, Jul 20, 2010 at 7:34 PM, Ot ten Thije wrote:
> > Hello,
> > I am working on fixing the savevm/loadvm functionality in the Android
> > emulator, and the two issues I've encountered so far both appear to stem
> > from the asynchron
On Tue, Jul 20, 2010 at 10:47 PM, Anthony Liguori wrote:
> On 07/20/2010 01:34 PM, Ot ten Thije wrote:
>>
>> Hello,
>>
>> I am working on fixing the savevm/loadvm functionality in the Android
>> emulator, and the two issues I've encountered so far both appear to stem
>> from the asynchronous I/O (
There is no need to have a second set of integral types.
Replace them by the standard types from stdint.h.
[PATCH 1/4] block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by
standard int types
[PATCH 2/4] tests: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by
standard int types
[PATCH
There is no need to have a second set of integral types.
Replace them by the standard types from stdint.h.
Signed-off-by: Stefan Weil
---
block/raw-posix.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 291699f..a11170e 10064
There is no need to have a second set of integral types.
Replace them by the standard types from stdint.h.
Signed-off-by: Stefan Weil
---
tests/sha1.c | 24
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/tests/sha1.c b/tests/sha1.c
index 3a76555..93b7
The previous patches replaced u_int8_t, u_int16_t, u_int32_t, u_int64_t
by standard int types from stdint.h,
so we can now remove their declarations which are no longer needed.
Signed-off-by: Stefan Weil
---
slirp/slirp.h | 33 -
1 files changed, 0 insertions(+)
There is no need to have a second set of integral types.
Replace them by the standard types from stdint.h.
Signed-off-by: Stefan Weil
---
slirp/cksum.c| 20 ++--
slirp/ip.h | 40
slirp/ip_icmp.h |2 +-
slirp/
2010/7/21 Luiz Capitulino :
> Do you need this for 0.13? I think the development window is already closed.
Was it announced somewhere?
--
Regards,
Artyom Tarasenko
solaris/sparc under qemu blog: http://tyom.blogspot.com/
On Thu, Jul 22, 2010 at 2:06 AM, Jun Koi wrote:
> Hi,
>
> Function regs_to_env() in target-i386/exec.h has a code like below:
>
> ...
> #ifdef reg_EAX
> env->regs[R_EAX] = EAX
> #endif
> ...
>
> However, elsewhere we have EAX defined as:
>
> #define EAX (env->regs[R_EAX])
>
> This means effectivel
Compile e1000, rtl8139 and usb-ohci in hwlib.
Signed-off-by: Blue Swirl
---
Makefile.objs |5 +
Makefile.target |7 ---
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/Makefile.objs b/Makefile.objs
index 67f1b21..8e2aebd 100644
--- a/Makefile.objs
+++ b/Makefile.
Delete explicit PCI host bridge byte swaps, adjust MMIO registrations
to insert a byte swapping IO type.
Signed-off-by: Blue Swirl
---
hw/apb_pci.c | 12 ++--
hw/dec_pci.c |6 --
hw/grackle_pci.c |6 --
hw/ppc4xx_pci.c | 21 -
hw/prep_pci.
Use pci_bar_map() and post_map_func instead of a mapping function.
Remove unused msix_mmio_map().
Signed-off-by: Blue Swirl
---
hw/msix.c | 21 +
hw/msix.h |3 ---
hw/virtio-pci.c | 47 +++
3 files changed, 32 i
Make byte swapping in VGA selectable.
Signed-off-by: Blue Swirl
---
hw/mips_jazz.c |6 +-
hw/pc.h |2 +-
hw/vga-isa-mm.c |9 ++---
hw/vga-isa.c|3 ++-
hw/vga-pci.c|2 +-
hw/vga.c| 38 +-
hw/vga_int.h|
Byte swapping in pci_host_*_register_mmio can be replaced
with IO_MEM_BSWAP use.
Partially reverts 952760bb7bce7fbfe0afcf04fee268745f297b87.
Signed-off-by: Blue Swirl
---
hw/dec_pci.c |4 +-
hw/grackle_pci.c |4 +-
hw/pci_host.c| 101 +++-
Add registration functions to manipulate MMIO mappings.
Signed-off-by: Blue Swirl
---
hw/pci.c | 49 +
hw/pci.h |7 +++
2 files changed, 44 insertions(+), 12 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index 1b20c44..3555ef3 100644
---
Use pci_bar_map() and post_map_func instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/eepro100.c | 72 +++-
1 files changed, 35 insertions(+), 37 deletions(-)
diff --git a/hw/eepro100.c b/hw/eepro100.c
index 2b86007..747cb4c 10
For devices, delete explicit PCI byte swaps. At big endian host bridges,
change MMIO registration to insert a byte swapping IO type.
Signed-off-by: Blue Swirl
---
hw/apb_pci.c |1 +
hw/e1000.c |6 --
hw/grackle_pci.c | 14 ++
hw/gt64xxx.c | 16 ++
Use pci_bar_map() and post_map_func instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/vga-pci.c | 22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/hw/vga-pci.c b/hw/vga-pci.c
index 216071f..c627a79 100644
--- a/hw/vga-pci.c
+++ b/hw/vga-
Add a flag to indicate a byte swapped MMIO type.
Signed-off-by: Blue Swirl
---
cpu-common.h |4 +++-
exec.c | 42 ++
softmmu_template.h | 16 +++-
3 files changed, 60 insertions(+), 2 deletions(-)
diff --git a/cpu-com
Move common stuff not related to I/O port init from vga_init() to
vga_common_init().
Signed-off-by: Blue Swirl
---
hw/vga-isa-mm.c |1 -
hw/vga.c|5 ++---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/vga-isa-mm.c b/hw/vga-isa-mm.c
index 680b557..d4b1e95 10064
Use pci_bar_map() instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/wdt_i6300esb.c | 38 ++
1 files changed, 14 insertions(+), 24 deletions(-)
diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c
index 46e1df8..24409ec 100644
--- a/hw/wdt_i6300e
Use pci_bar_map() and post_map_func instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/cirrus_vga.c | 26 --
1 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 7c14361..a9ccb69 100644
--- a/hw/cirrus_vga.
Move PCI memory base adjustment to APB specific MMIO manipulator.
Signed-off-by: Blue Swirl
---
hw/apb_pci.c | 25 -
hw/pci.c | 26 +-
hw/pci.h |2 --
3 files changed, 29 insertions(+), 24 deletions(-)
diff --git a/hw/apb_pci.c b/h
Use pci_bar_map() and post_map_func instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/vmware_vga.c | 93 +-
1 files changed, 57 insertions(+), 36 deletions(-)
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index 00fa8fd..1e2d17
Use pci_bar_map() and post_map_func instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/ac97.c | 59 ++-
1 files changed, 38 insertions(+), 21 deletions(-)
diff --git a/hw/ac97.c b/hw/ac97.c
index ad4aef4..2e5f02c 100644
---
Use pci_bar_map() instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/usb-uhci.c | 31 +++
1 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index 1d83400..2e1f5ee 100644
--- a/hw/usb-uhci.c
+++ b/hw/usb-uhci.
The parameter map_func of pci_register_bar() is now completely unused
since all callers pass NULL.
Remove the unused parameter and all map_func handling. Adjust callers.
Signed-off-by: Blue Swirl
---
hw/ac97.c |4 ++--
hw/cirrus_vga.c |4 ++--
hw/e1000.c|4 ++--
hw
Use pci_bar_map() instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/ide/cmd646.c | 149 ++-
1 files changed, 92 insertions(+), 57 deletions(-)
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c
index ff80dd5..ec080e0 100644
--- a/hw
Use pci_bar_map() and post_map_func instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/lsi53c895a.c | 47 ---
1 files changed, 20 insertions(+), 27 deletions(-)
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index a9cbcef..ed52db0 10064
Use pci_bar_map() instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/rtl8139.c | 42 --
1 files changed, 16 insertions(+), 26 deletions(-)
diff --git a/hw/rtl8139.c b/hw/rtl8139.c
index d92981d..bc20549 100644
--- a/hw/rtl8139.c
+++ b/hw/rt
Move IOIO and MMIO BAR mapping to pci.c.
Signed-off-by: Blue Swirl
---
hw/pci.c | 167 -
hw/pci.h | 14 +-
2 files changed, 122 insertions(+), 59 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index a98d6f3..49f03fb 100644
--- a/
Add a callback for PCI BAR mapping. Replaces map_func.
Signed-off-by: Blue Swirl
---
hw/ac97.c |5 +++--
hw/cirrus_vga.c |5 +++--
hw/e1000.c|4 ++--
hw/eepro100.c |8
hw/es1370.c |2 +-
hw/ide/cmd646.c | 10 +-
hw/ide/piix.c
Use pci_bar_map() instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/ide/piix.c | 72 +++-
1 files changed, 45 insertions(+), 27 deletions(-)
diff --git a/hw/ide/piix.c b/hw/ide/piix.c
index 07483e8..959e061 100644
--- a/hw/ide/
Use pci_bar_map() and post_map_func instead of a mapping function.
Signed-off-by: Blue Swirl
---
hw/e1000.c | 15 +++
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/hw/e1000.c b/hw/e1000.c
index 6d1c3d4..d64fb79 100644
--- a/hw/e1000.c
+++ b/hw/e1000.c
@@ -149,14 +
1 - 100 of 125 matches
Mail list logo