qemu
15 years agoRename slavio_serial to escc
blueswir1 [Mon, 12 Jan 2009 17:33:30 +0000 (17:33 +0000)]
Rename slavio_serial to escc

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6269 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix typo
blueswir1 [Mon, 12 Jan 2009 17:31:29 +0000 (17:31 +0000)]
Fix typo

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6268 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix segfault
blueswir1 [Sat, 10 Jan 2009 14:38:00 +0000 (14:38 +0000)]
Fix segfault

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6267 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd EBUS bridge
blueswir1 [Sat, 10 Jan 2009 11:33:32 +0000 (11:33 +0000)]
Add EBUS bridge

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6266 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix APB
blueswir1 [Fri, 9 Jan 2009 20:53:30 +0000 (20:53 +0000)]
Fix APB

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6265 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUpdate openbios-ppc to revision 373
aurel32 [Fri, 9 Jan 2009 20:06:44 +0000 (20:06 +0000)]
Update openbios-ppc to revision 373

Fix boot on CD-ROM.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6264 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agofix configuring kvm probe when using --kerneldir (Christian Ehrhardt)
aliguori [Fri, 9 Jan 2009 20:05:10 +0000 (20:05 +0000)]
fix configuring kvm probe when using --kerneldir (Christian Ehrhardt)

There is already a variable kvm_cflags which gets the path of the kernel
includes when using --kerneldir. But eventually with newer kernels we all will
need arch/$arch/include too (my case was a incldue of asm/kvm.h which was not
found anymore). Headers in a full kernel source are not flattened to
one arch like they are if e.g. installed kernel headers are used.

To fix that, the includes added to cflags depending on --kerneldir should also
contian the arch includes. The patch adds a special check for x86 because its
source layout recently changed, all others directly use arch/$cpu/include if
existent.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6263 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMark openbios-ppc as a binary file.
aurel32 [Fri, 9 Jan 2009 19:51:09 +0000 (19:51 +0000)]
Mark openbios-ppc as a binary file.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6262 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agomips, ppc: make sure nd->model is always defined
aurel32 [Fri, 9 Jan 2009 13:10:41 +0000 (13:10 +0000)]
mips, ppc: make sure nd->model is always defined

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6261 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: add an openbios-ppc image
aurel32 [Fri, 9 Jan 2009 11:01:31 +0000 (11:01 +0000)]
target-ppc: add an openbios-ppc image

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6260 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUpdate to reflect the fact that AC97 will be built by default
malc [Fri, 9 Jan 2009 10:46:37 +0000 (10:46 +0000)]
Update to reflect the fact that AC97 will be built by default

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6259 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMore flexible audio card selection
malc [Fri, 9 Jan 2009 10:46:34 +0000 (10:46 +0000)]
More flexible audio card selection

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6258 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: revert part of commit r6254 committed accidentally
aurel32 [Fri, 9 Jan 2009 06:43:25 +0000 (06:43 +0000)]
target-ppc: revert part of commit r6254 committed accidentally

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6257 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMake the set_link cmd handle multiple nics.
edgar_igl [Fri, 9 Jan 2009 00:48:28 +0000 (00:48 +0000)]
Make the set_link cmd handle multiple nics.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6256 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Let the ethernet PHY report the current link-state.
edgar_igl [Fri, 9 Jan 2009 00:04:35 +0000 (00:04 +0000)]
ETRAX: Let the ethernet PHY report the current link-state.

* PHY reports correct link-state.
* Allow the board description to assign separate addresses to each PHY.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6255 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd v{add, sub}{s, u}{b, h, w}s instructions
aurel32 [Thu, 8 Jan 2009 23:19:50 +0000 (23:19 +0000)]
Add v{add, sub}{s, u}{b, h, w}s instructions

Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6254 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoEnable ac97 by default
aliguori [Thu, 8 Jan 2009 21:03:55 +0000 (21:03 +0000)]
Enable ac97 by default

ac97 has drivers for Vista 64-bit whereas sb16 and es1370 do not appear to.  I
asked malc why it was disabled and he said it was because it was GPL.  He did
not object to enabling it now that more QEMU code is GPL'd.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6253 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoIDE: Return zero when reading error register with slave selected (Justin Chevrier)
aliguori [Thu, 8 Jan 2009 21:03:07 +0000 (21:03 +0000)]
IDE: Return zero when reading error register with slave selected (Justin Chevrier)

During hardware detection Openserver issues commands to slaves on both primary
and secondary ports. We already return a zero for the status register in this
situation but after reading the status register the Openserver installer
proceeds to check the value of the error register. Currently we return the
existing value in the register. This confuses the installer and it tries to
access the slave units later on. When the command that gets issued later gets
ignored the installer freezes. The patch below returns zero when reading the
error register if a slave unit is selected. Openserver can now successfully be
installed using the emulated IDE hard drive.

Return zero when reading error register with slave selected

Signed-off-by: Justin Chevrier <theburner1@yahoo.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6252 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix IDE debug
blueswir1 [Thu, 8 Jan 2009 20:01:26 +0000 (20:01 +0000)]
Fix IDE debug

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6251 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoImplement virtio_net link status (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:46:33 +0000 (19:46 +0000)]
Implement virtio_net link status (Mark McLoughlin)

Implement the VIRTIO_NET_F_STATUS feature by exposing the link status
through virtio_net_config::status.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6250 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoImplement e1000 link status (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:45:50 +0000 (19:45 +0000)]
Implement e1000 link status (Mark McLoughlin)

On link up or down we set the E1000_STATUS_LU ("link up") bit
in the status register and set the E1000_ICR_LSC ("link
status changed") bit in the interrupt cause register before
interrupting the guest.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6249 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAllow devices be notified of link status change (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:45:03 +0000 (19:45 +0000)]
Allow devices be notified of link status change (Mark McLoughlin)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6248 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd 'set_link' monitor command (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:44:06 +0000 (19:44 +0000)]
Add 'set_link' monitor command (Mark McLoughlin)

Add a monitor command to setting a given network device's link status
to 'up' or 'down'.

Allows simulation of network cable disconnect.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6247 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoqemu-nbd: fix options: -b (--bind) expects an argument (IFACE) (Uri Lublin)
aliguori [Thu, 8 Jan 2009 19:34:35 +0000 (19:34 +0000)]
qemu-nbd: fix options: -b (--bind) expects an argument (IFACE) (Uri Lublin)

Rebased for qemu tree.

Signed-off-by: Uri Lublin <uril@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6246 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoqcow2: free old snapshots array upon creation of a new one (Uri Lublin)
aliguori [Thu, 8 Jan 2009 19:32:20 +0000 (19:32 +0000)]
qcow2: free old snapshots array upon creation of a new one (Uri Lublin)

Don't leak memory

Rebased for qemu tree.

Signed-off-by: Uri Lublin <uril@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6245 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoqcow1: Fix compressed images (Kevin Wolf)
aliguori [Thu, 8 Jan 2009 19:29:03 +0000 (19:29 +0000)]
qcow1: Fix compressed images (Kevin Wolf)

Revert r4673, the removed dead code wasn't dead in fact.

Additionally, change the misleading else which tricks the reader into
believing that allocate is a boolean to else if (allocate == 2).

Signed-off-by: Kevin Wolf <kwolf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6244 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd support for vmchannel socket migration (Gleb Natapov)
aliguori [Thu, 8 Jan 2009 19:27:07 +0000 (19:27 +0000)]
Add support for vmchannel socket migration (Gleb Natapov)

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6243 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd "restrict" and "ip" option to "user" net option (Gleb Natapov)
aliguori [Thu, 8 Jan 2009 19:26:22 +0000 (19:26 +0000)]
Add "restrict" and "ip" option to "user" net option (Gleb Natapov)

Expose new slirp capabilities to user through a command line options.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6242 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd slirp_restrict option (Gleb Natapov)
aliguori [Thu, 8 Jan 2009 19:24:00 +0000 (19:24 +0000)]
Add slirp_restrict option (Gleb Natapov)

Add "slirp firewall" to permit connection only to vmchannel addresses.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6241 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRedirect slirp traffic to/from qemu character device (Gleb Natapov)
aliguori [Thu, 8 Jan 2009 19:18:21 +0000 (19:18 +0000)]
Redirect slirp traffic to/from qemu character device (Gleb Natapov)

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6240 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd model field to nic info (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:01:37 +0000 (19:01 +0000)]
Add model field to nic info (Mark McLoughlin)

The model type used to be printed as part of the nic info.  It was removed when
the name type was added.  This adds back a model field for those that were
using it previously.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6239 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vspltis{b,h,w} instructions
aurel32 [Thu, 8 Jan 2009 18:54:57 +0000 (18:54 +0000)]
Add vspltis{b,h,w} instructions

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6238 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vs{l,r} instructions
aurel32 [Thu, 8 Jan 2009 18:54:48 +0000 (18:54 +0000)]
Add vs{l,r} instructions

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6237 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vcmpequ{b, h, w} and vcmpgt{s, u}{b, h, w} instructions
aurel32 [Thu, 8 Jan 2009 18:54:38 +0000 (18:54 +0000)]
Add vcmpequ{b, h, w} and vcmpgt{s, u}{b, h, w} instructions

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6236 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VXRFORM{,1} macros for subsequent instructions
aurel32 [Thu, 8 Jan 2009 18:54:26 +0000 (18:54 +0000)]
Add GEN_VXRFORM{,1} macros for subsequent instructions

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6235 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoImprove PCI debug support
blueswir1 [Thu, 8 Jan 2009 18:52:52 +0000 (18:52 +0000)]
Improve PCI debug support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6234 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: CP0 Random register improvements
aurel32 [Thu, 8 Jan 2009 18:48:12 +0000 (18:48 +0000)]
target-mips: CP0 Random register improvements

- Use a LFSR to generate the random value
- Make sure to not return the same value twice

Based on a patch by HervĂ© Poussineau.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6233 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agocmd646: correctly enable IDE channels
aurel32 [Thu, 8 Jan 2009 16:01:33 +0000 (16:01 +0000)]
cmd646: correctly enable IDE channels

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6232 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: move OpenBIOS machines type to ppc.h from hw/ppc_oldworld.c
aurel32 [Thu, 8 Jan 2009 16:01:23 +0000 (16:01 +0000)]
target-ppc: move OpenBIOS machines type to ppc.h from hw/ppc_oldworld.c

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6231 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoSome more updates for the g3bw -> g3beige change
aurel32 [Thu, 8 Jan 2009 16:01:13 +0000 (16:01 +0000)]
Some more updates for the g3bw -> g3beige change

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6230 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoupdate the documentation for the g3bw -> g3beige change
aurel32 [Wed, 7 Jan 2009 23:51:36 +0000 (23:51 +0000)]
update the documentation for the g3bw -> g3beige change

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6229 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: Switch ppc_oldworld.c to G3 beige
aurel32 [Wed, 7 Jan 2009 23:38:59 +0000 (23:38 +0000)]
target-ppc: Switch ppc_oldworld.c to G3 beige

The G3 B&W is a new world machine. The machine currently implemented is
actually closer to a G3 beige.

Also swith the MacIO from Paddigton (new world) to Heathrow (old world).

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6228 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Purify some of the flag evaluation helpers.
edgar_igl [Wed, 7 Jan 2009 23:38:41 +0000 (23:38 +0000)]
CRIS: Purify some of the flag evaluation helpers.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6227 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Always provide a valid net model.
edgar_igl [Wed, 7 Jan 2009 22:46:50 +0000 (22:46 +0000)]
ETRAX: Always provide a valid net model.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6226 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Enable NTPL.
edgar_igl [Wed, 7 Jan 2009 20:07:09 +0000 (20:07 +0000)]
CRIS: Enable NTPL.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6225 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix build breakage introduced by r6219
aliguori [Wed, 7 Jan 2009 19:59:59 +0000 (19:59 +0000)]
Fix build breakage introduced by r6219

This was spotted by Stefan Weil.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6224 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Add a bunch of syscall numbers.
edgar_igl [Wed, 7 Jan 2009 19:47:53 +0000 (19:47 +0000)]
CRIS: Add a bunch of syscall numbers.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6223 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Clone flags are reversed on CRIS.
edgar_igl [Wed, 7 Jan 2009 19:43:47 +0000 (19:43 +0000)]
CRIS: Clone flags are reversed on CRIS.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6222 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agovirtio-net migration fix (Mark McLoughlin)
aliguori [Wed, 7 Jan 2009 17:50:45 +0000 (17:50 +0000)]
virtio-net migration fix (Mark McLoughlin)

We are failing to save whether the guest will supply us rx
buffers using the new mergeable format; this can cause a
migrated guest to crash with:

   virtio-net header not in first element

Bump the savevm version number and refuse to load v1 saves
just to be on the safe side.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6221 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd a -net name=foo parameter (Mark McLoughlin)
aliguori [Wed, 7 Jan 2009 17:48:51 +0000 (17:48 +0000)]
Add a -net name=foo parameter (Mark McLoughlin)

Allow the user to supply a vlan client name on the command line.

This is probably only useful for management tools so that they can
use their own names rather than parsing the output of 'info network'.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6220 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoadd missing MAC address to info_str for some NICs (Mark McLoughlin)
aliguori [Wed, 7 Jan 2009 17:47:15 +0000 (17:47 +0000)]
add missing MAC address to info_str for some NICs (Mark McLoughlin)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6219 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd qemu_format_nic_info_str() (Mark McLoughlin)
aliguori [Wed, 7 Jan 2009 17:46:21 +0000 (17:46 +0000)]
Add qemu_format_nic_info_str() (Mark McLoughlin)

Factor out a simple little function for formatting a NIC's
info_str and make all NICs use it.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6218 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAssign a name to each VLAN client (Mark McLoughlin)
aliguori [Wed, 7 Jan 2009 17:43:44 +0000 (17:43 +0000)]
Assign a name to each VLAN client (Mark McLoughlin)

Automatically assign a name to each vlan client based on its model,
e.g. e1000.0, tap.3 or vde.1.

This name is intended to be used by the forthcoming 'set_link'
monitor command.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6217 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd a model string to VLANClientState (Mark McLoughlin)
aliguori [Wed, 7 Jan 2009 17:42:25 +0000 (17:42 +0000)]
Add a model string to VLANClientState (Mark McLoughlin)

Don't lose track of what type/model a vlan client is so that we can
e.g. assign a global per-model id to clients.

The entire patch is basically a tedious excercise in making sure the
type/model string gets propagated down to qemu_new_vlan_client().

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6216 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agosnapshot subcommand for qemu-img (Kevin Wolf)
aliguori [Wed, 7 Jan 2009 17:40:15 +0000 (17:40 +0000)]
snapshot subcommand for qemu-img (Kevin Wolf)

Add snapshot subcommand to qemu-img which allows to list, create, apply
and delete snapshots on qcow2 images.

Signed-off-by: Kevin Wolf <kwolf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6215 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoadd "serial" parameter to -drive flag (Gleb Natapov)
aliguori [Wed, 7 Jan 2009 17:32:33 +0000 (17:32 +0000)]
add "serial" parameter to -drive flag (Gleb Natapov)

Windows calculates HW "uniqueness" based on a hard drive serial number
among other things. The patch allows to specify drive serial number
from a command line.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6214 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoqcow2: Fix cluster allocation (Kevin Wolf)
aliguori [Wed, 7 Jan 2009 17:22:19 +0000 (17:22 +0000)]
qcow2: Fix cluster allocation (Kevin Wolf)

When allocating multiple clusters at once, the qcow2 implementation
tries to find as many physically contiguous clusters as possible to
allow larger writes. This search includes allocated clusters which are
in the right place and still free clusters. If the range to allocate
spans clusters in patterns like "10 allocated, then 10 free, then again
10 allocated" it is only checked that the chunks of allocated clusters
are contiguous for themselves.

However, what is actually needed is to have _all_ allocated clusters
contiguous, starting at the first cluster of the allocation and spanning
multiple such chunks. This patch changes the check so that each offset
is not compared to the offset of the first cluster in its own chunk but
to the first cluster in the whole allocation.

I haven't seen it happen, but without this fix data corruption on qcow2
images is possible.

Signed-off-by: Kevin Wolf <kwolf@suse.de>
Acked-by: Gleb Natapov <gleb@redhat.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6213 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix compressed qcow2 (Gleb Natapov)
aliguori [Wed, 7 Jan 2009 16:43:13 +0000 (16:43 +0000)]
Fix compressed qcow2 (Gleb Natapov)

Correctly calculate number of contiguous clusters.

Acked-by: Kevin Wolf <kwolf@suse.de>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6212 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agofix usb-hid SET_IDLE behaviour (Stefano Stabellini)
aliguori [Wed, 7 Jan 2009 16:41:47 +0000 (16:41 +0000)]
fix usb-hid SET_IDLE behaviour (Stefano Stabellini)

the usb-hid spec states that the SET_IDLE request has a 16bit value,
where the upper byte specifies the idle rate (currently unimplemented,
we handle only the 0 case, meaning infinite duration) and the lower
byte specifies the report id (0 means all reports).
In our code we do idle = value, while it should be idle = "upper byte",
especially if the guest issues a GET_IDLE, we should return only the
idle rate while we are returning only the report id.
In practice it doesn't make much difference because I have only seen
SET_VALUE with both bytes set to 0 so far, but still it is wrong.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6211 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Implement set_thread_area for CRIS.
edgar_igl [Wed, 7 Jan 2009 14:19:38 +0000 (14:19 +0000)]
CRIS: Implement set_thread_area for CRIS.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6210 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Correct size of control-register area.
edgar_igl [Wed, 7 Jan 2009 14:00:33 +0000 (14:00 +0000)]
ETRAX: Correct size of control-register area.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6209 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Process out channels immediately when the channel is started.
edgar_igl [Wed, 7 Jan 2009 13:46:31 +0000 (13:46 +0000)]
ETRAX: Process out channels immediately when the channel is started.

* Process out channels immediately when the channel is started.
* Context descriptor load does not start a channel.
* Store updated descriptors after processing them regardless of eol state.
* Correct control-register area size.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6208 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Correctly update the interrupt vector when interrupts get masked.
edgar_igl [Wed, 7 Jan 2009 13:30:41 +0000 (13:30 +0000)]
ETRAX: Correctly update the interrupt vector when interrupts get masked.

Cannot believe this bug has been around for so long.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6207 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Support timer count reads and correct frequencies.
edgar_igl [Wed, 7 Jan 2009 13:24:40 +0000 (13:24 +0000)]
ETRAX: Support timer count reads and correct frequencies.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6206 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Use a helper for lz.
edgar_igl [Wed, 7 Jan 2009 13:19:21 +0000 (13:19 +0000)]
CRIS: Use a helper for lz.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6205 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: bound operates directly on regs, no need to allocate temp destination.
edgar_igl [Wed, 7 Jan 2009 13:15:29 +0000 (13:15 +0000)]
CRIS: bound operates directly on regs, no need to allocate temp destination.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6204 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Speedup btst by using a helper.
edgar_igl [Wed, 7 Jan 2009 13:11:22 +0000 (13:11 +0000)]
CRIS: Speedup btst by using a helper.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6203 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Add a dummy tempsensor and correct the NAND flash model.
edgar_igl [Wed, 7 Jan 2009 13:05:58 +0000 (13:05 +0000)]
ETRAX: Add a dummy tempsensor and correct the NAND flash model.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6202 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: NMI wakes up the core.
edgar_igl [Wed, 7 Jan 2009 12:36:06 +0000 (12:36 +0000)]
CRIS: NMI wakes up the core.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6201 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: NMI wakes up the core.
edgar_igl [Wed, 7 Jan 2009 12:35:08 +0000 (12:35 +0000)]
CRIS: NMI wakes up the core.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6200 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Move operations can be optimized as arithmetic ones for cc evaluation.
edgar_igl [Wed, 7 Jan 2009 12:27:46 +0000 (12:27 +0000)]
CRIS: Move operations can be optimized as arithmetic ones for cc evaluation.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6199 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Slight performance improvement for flag evaluation.
edgar_igl [Wed, 7 Jan 2009 12:25:15 +0000 (12:25 +0000)]
CRIS: Slight performance improvement for flag evaluation.

Translate sub and cmp ops separately when evaluating flags to avoid checking
for them at runtime.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6198 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Add a model for the axis devboard88 machine.
edgar_igl [Wed, 7 Jan 2009 12:19:50 +0000 (12:19 +0000)]
ETRAX: Add a model for the axis devboard88 machine.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6197 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: No need to mask off the I flag twice at reset.
edgar_igl [Wed, 7 Jan 2009 12:13:28 +0000 (12:13 +0000)]
ETRAX: No need to mask off the I flag twice at reset.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6196 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agogdbstub: fix gdbserver_fork
edgar_igl [Wed, 7 Jan 2009 10:22:28 +0000 (10:22 +0000)]
gdbstub: fix gdbserver_fork

As reported by Martin Mohring fork doesn't work with NPTL.
A fix is attached that makes the also attached test run
(tested with ARM CodeSourcery 2008q3 on an x86_64
Fedora Core with kernel 2.6.23).

Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6195 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd missing space
malc [Tue, 6 Jan 2009 18:57:51 +0000 (18:57 +0000)]
Add missing space

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6194 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: fix compilation on BigEndian
aurel32 [Mon, 5 Jan 2009 21:40:27 +0000 (21:40 +0000)]
target-ppc: fix compilation on BigEndian

This fixes BigEndian compilation for target-ppc.

(Michael Buesch)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6193 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix more FSF addresses
blueswir1 [Mon, 5 Jan 2009 18:11:53 +0000 (18:11 +0000)]
Fix more FSF addresses

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6192 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd cirrus reset handler
blueswir1 [Mon, 5 Jan 2009 17:37:06 +0000 (17:37 +0000)]
Add cirrus reset handler

The vga reset handler overwrites some cirrus registers, causing reboots
to corrupt cirrus state to the point that guests can only bring up 640x480
resolutions.

Fix by adding a dedicated cirrus reset handler (which calls the common vga
handler).

Signed-off-by: Avi Kivity <avi@redhat.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6191 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: Add m{f,t}vscr instructions.
aurel32 [Sun, 4 Jan 2009 22:51:59 +0000 (22:51 +0000)]
target-ppc: Add m{f,t}vscr instructions.

Based on a patch by Nathan Froyd <froydnj@codesourcery.com>

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6190 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsumsws, vsum2sws, and vsum4{sbs, shs,ubs} instructions.
aurel32 [Sun, 4 Jan 2009 22:13:21 +0000 (22:13 +0000)]
Add vsumsws, vsum2sws, and vsum4{sbs, shs,ubs} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6189 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd {l,st}ve{b,h,w}x instructions.
aurel32 [Sun, 4 Jan 2009 22:13:10 +0000 (22:13 +0000)]
Add {l,st}ve{b,h,w}x instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6188 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmladduhm instruction.
aurel32 [Sun, 4 Jan 2009 22:13:00 +0000 (22:13 +0000)]
Add vmladduhm instruction.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6187 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmsumsh{m,s} instructions.
aurel32 [Sun, 4 Jan 2009 22:12:49 +0000 (22:12 +0000)]
Add vmsumsh{m,s} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6186 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmsumuh{m,s} instructions.
aurel32 [Sun, 4 Jan 2009 22:12:39 +0000 (22:12 +0000)]
Add vmsumuh{m,s} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6185 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmh{,r}addshs instructions.
aurel32 [Sun, 4 Jan 2009 22:12:29 +0000 (22:12 +0000)]
Add vmh{,r}addshs instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6184 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vpkpx instruction.
aurel32 [Sun, 4 Jan 2009 22:12:19 +0000 (22:12 +0000)]
Add vpkpx instruction.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6183 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vpks{h, w}{s, u}s, vpku{h, w}us, and vpku{h, w}um instructions.
aurel32 [Sun, 4 Jan 2009 22:12:09 +0000 (22:12 +0000)]
Add vpks{h, w}{s, u}s, vpku{h, w}us, and vpku{h, w}um instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6182 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd saturating arithmetic conversion functions for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:11:59 +0000 (22:11 +0000)]
Add saturating arithmetic conversion functions for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6181 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsel and vperm instructions.
aurel32 [Sun, 4 Jan 2009 22:11:49 +0000 (22:11 +0000)]
Add vsel and vperm instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6180 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmsum{u,m}bm instructions.
aurel32 [Sun, 4 Jan 2009 22:11:39 +0000 (22:11 +0000)]
Add vmsum{u,m}bm instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6179 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VAFORM_PAIRED macro for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:11:29 +0000 (22:11 +0000)]
Add GEN_VAFORM_PAIRED macro for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6178 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vupk{h,l}s{b,h} instructions.
aurel32 [Sun, 4 Jan 2009 22:11:20 +0000 (22:11 +0000)]
Add vupk{h,l}s{b,h} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6177 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vupk{h,l}px instructions.
aurel32 [Sun, 4 Jan 2009 22:11:10 +0000 (22:11 +0000)]
Add vupk{h,l}px instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6176 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VXFORM_NOA macro for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:10:59 +0000 (22:10 +0000)]
Add GEN_VXFORM_NOA macro for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6175 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsplt{b,h,w} instructions.
aurel32 [Sun, 4 Jan 2009 22:10:49 +0000 (22:10 +0000)]
Add vsplt{b,h,w} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6174 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VXFORM_UIMM macro for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:10:40 +0000 (22:10 +0000)]
Add GEN_VXFORM_UIMM macro for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6173 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VXFORM_SIMM macro for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:10:28 +0000 (22:10 +0000)]
Add GEN_VXFORM_SIMM macro for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6172 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsldoi instruction.
aurel32 [Sun, 4 Jan 2009 22:10:09 +0000 (22:10 +0000)]
Add vsldoi instruction.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6171 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vrl{b,h,w} instructions.
aurel32 [Sun, 4 Jan 2009 22:09:52 +0000 (22:09 +0000)]
Add vrl{b,h,w} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6170 c046a42c-6fe2-441c-8c8c-71466251a162