sdk/emulator/qemu.git
16 years agoAllow to share a disk image via nbd, by Laurent Vivier.
ths [Thu, 3 Jul 2008 12:45:02 +0000 (12:45 +0000)]
Allow to share a disk image via nbd, by Laurent Vivier.

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

16 years agoAdd a parameter to disable host cache, by Laurent Vivier.
ths [Thu, 3 Jul 2008 11:47:46 +0000 (11:47 +0000)]
Add a parameter to disable host cache, by Laurent Vivier.

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

16 years agoFix typo
malc [Thu, 3 Jul 2008 11:29:15 +0000 (11:29 +0000)]
Fix typo

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

16 years agoMerge NBD client/server, by Laurent Vivier.
ths [Thu, 3 Jul 2008 10:23:51 +0000 (10:23 +0000)]
Merge NBD client/server, by Laurent Vivier.

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

16 years agoBail out if -append or -initrd is specified without -kernel, by
ths [Thu, 3 Jul 2008 10:01:15 +0000 (10:01 +0000)]
Bail out if -append or -initrd is specified without -kernel, by
Sebastian Herbszt.

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

16 years agoFix constant truncation, spotted by Jindrich Makovicka.
ths [Thu, 3 Jul 2008 04:13:24 +0000 (04:13 +0000)]
Fix constant truncation, spotted by Jindrich Makovicka.

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

16 years agoFix ATAPI read drive structure command, by Alex Williamson.
ths [Thu, 3 Jul 2008 03:57:14 +0000 (03:57 +0000)]
Fix ATAPI read drive structure command, by Alex Williamson.

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

16 years agoRemove stray local "speedup" hack
malc [Wed, 2 Jul 2008 21:25:53 +0000 (21:25 +0000)]
Remove stray local "speedup" hack

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

16 years agoCleanup qemu-nbd related code, by Laurent Vivier.
ths [Wed, 2 Jul 2008 21:18:00 +0000 (21:18 +0000)]
Cleanup qemu-nbd related code, by Laurent Vivier.

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

16 years agoAdd -MT
malc [Wed, 2 Jul 2008 21:16:22 +0000 (21:16 +0000)]
Add -MT

Unbreaks dependency generation for audio, slirp and tests

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

16 years agoPulseaudio driver
malc [Wed, 2 Jul 2008 21:03:08 +0000 (21:03 +0000)]
Pulseaudio driver

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

16 years agoFix test arguments (Jeremy C. Reed)
malc [Wed, 2 Jul 2008 18:13:46 +0000 (18:13 +0000)]
Fix test arguments (Jeremy C. Reed)

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

16 years agoAdd NULL argument to SNDCTL_DSP_NONBLOCK ioctl call
malc [Wed, 2 Jul 2008 18:03:12 +0000 (18:03 +0000)]
Add NULL argument to SNDCTL_DSP_NONBLOCK ioctl call

Comes from here:
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/qemu/patches/patch-am?rev=1.2&content-type=text/x-cvsweb-markup

http://manuals.opensound.com/developer/SNDCTL_DSP_NONBLOCK.html
No explanation for NULL given.

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

16 years agoSave/restore for stellaris boards.
pbrook [Wed, 2 Jul 2008 16:48:32 +0000 (16:48 +0000)]
Save/restore for stellaris boards.

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

16 years agoARMv7-M interrupt stack alignment fix.
pbrook [Wed, 2 Jul 2008 16:44:09 +0000 (16:44 +0000)]
ARMv7-M interrupt stack alignment fix.

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

16 years agoFix NetBSD keyboard problem
blueswir1 [Wed, 2 Jul 2008 15:17:21 +0000 (15:17 +0000)]
Fix NetBSD keyboard problem

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

16 years agoAdd rigid and flexible disk geometry page support
blueswir1 [Wed, 2 Jul 2008 15:16:18 +0000 (15:16 +0000)]
Add rigid and flexible disk geometry page support

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

16 years agoFix i2c save/restore.
pbrook [Tue, 1 Jul 2008 23:16:53 +0000 (23:16 +0000)]
Fix i2c save/restore.

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

16 years agoFix typo.
pbrook [Tue, 1 Jul 2008 21:53:33 +0000 (21:53 +0000)]
Fix typo.

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

16 years agoRemove duplicate device index calculations.
pbrook [Tue, 1 Jul 2008 21:31:54 +0000 (21:31 +0000)]
Remove duplicate device index calculations.

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

16 years agoMove interrupt_request and user_mode_only to common cpu state.
pbrook [Tue, 1 Jul 2008 20:01:19 +0000 (20:01 +0000)]
Move interrupt_request and user_mode_only to common cpu state.
Save and restore env->interrupt_request and env->halted.

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

16 years agoFix DMA length bug seen with NetBSD (Cliff Wright)
blueswir1 [Tue, 1 Jul 2008 19:28:23 +0000 (19:28 +0000)]
Fix DMA length bug seen with NetBSD (Cliff Wright)

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

16 years agoblock-vvfat.c - fix is_free predicate, by Tristan Gingold.
ths [Tue, 1 Jul 2008 16:44:58 +0000 (16:44 +0000)]
block-vvfat.c - fix is_free predicate, by Tristan Gingold.

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

16 years agoAdd missing return in arm-semi, by Laurent Desnogues.
ths [Tue, 1 Jul 2008 16:40:04 +0000 (16:40 +0000)]
Add missing return in arm-semi, by Laurent Desnogues.

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

16 years agoStatic'ify some functions, and use standard inline in translate.c.
ths [Tue, 1 Jul 2008 16:37:52 +0000 (16:37 +0000)]
Static'ify some functions, and use standard inline in translate.c.

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

16 years agoImplement resolution switching in common console code.
pbrook [Tue, 1 Jul 2008 16:24:38 +0000 (16:24 +0000)]
Implement resolution switching in common console code.

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

16 years agoDelete duplicate code.
ths [Tue, 1 Jul 2008 08:45:45 +0000 (08:45 +0000)]
Delete duplicate code.

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

16 years agoFix rdtsc instruction counting.
pbrook [Mon, 30 Jun 2008 17:51:26 +0000 (17:51 +0000)]
Fix rdtsc instruction counting.

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

16 years agoSpelling fixes, spotted by Stuart Brady.
ths [Mon, 30 Jun 2008 17:22:19 +0000 (17:22 +0000)]
Spelling fixes, spotted by Stuart Brady.

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

16 years agoMove CPU save/load registration to common code.
pbrook [Mon, 30 Jun 2008 16:31:04 +0000 (16:31 +0000)]
Move CPU save/load registration to common code.

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

16 years agoCRIS: Correct writes to TLB hi.
edgar_igl [Mon, 30 Jun 2008 15:27:47 +0000 (15:27 +0000)]
CRIS: Correct writes to TLB hi.

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

16 years agoAvoid refering to CRIS specific cpu-state to be able to use these blocks with other...
edgar_igl [Mon, 30 Jun 2008 11:51:12 +0000 (11:51 +0000)]
Avoid refering to CRIS specific cpu-state to be able to use these blocks with other cores.

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

16 years agoMake bcond and btarget TCG registers.
ths [Mon, 30 Jun 2008 11:30:34 +0000 (11:30 +0000)]
Make bcond and btarget TCG registers.

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

16 years agoAvoid CRIS related warnings by Jan Kiszka.
edgar_igl [Mon, 30 Jun 2008 08:59:49 +0000 (08:59 +0000)]
Avoid CRIS related warnings by Jan Kiszka.

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

16 years agoSuppress bogus compiler warnings.
pbrook [Sun, 29 Jun 2008 15:25:29 +0000 (15:25 +0000)]
Suppress bogus compiler warnings.

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

16 years agoRemove unnecessary helper arguments, and fix some typos.
ths [Sun, 29 Jun 2008 14:53:11 +0000 (14:53 +0000)]
Remove unnecessary helper arguments, and fix some typos.

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

16 years agoAdd missing static qualifiers.
pbrook [Sun, 29 Jun 2008 12:29:56 +0000 (12:29 +0000)]
Add missing static qualifiers.

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

16 years agoAdd missing file. Fix spelling errors.
pbrook [Sun, 29 Jun 2008 10:43:16 +0000 (10:43 +0000)]
Add missing file. Fix spelling errors.

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

16 years agoAdd instruction counter.
pbrook [Sun, 29 Jun 2008 01:03:05 +0000 (01:03 +0000)]
Add instruction counter.

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

16 years agoFix shell quoting.
pbrook [Sun, 29 Jun 2008 01:00:34 +0000 (01:00 +0000)]
Fix shell quoting.

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

16 years agoDocument usage of new options remove stray variables, check for ALSA/FMOD/ESD
malc [Sat, 28 Jun 2008 19:13:06 +0000 (19:13 +0000)]
Document usage of new options remove stray variables, check for ALSA/FMOD/ESD

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

16 years agoConsistency
malc [Sat, 28 Jun 2008 19:13:02 +0000 (19:13 +0000)]
Consistency

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

16 years agoAvoid unused input arguments which triggered tcg errors. Spotted by
ths [Fri, 27 Jun 2008 10:03:42 +0000 (10:03 +0000)]
Avoid unused input arguments which triggered tcg errors. Spotted by
Stefan Weil.

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

16 years agoMore efficient target register / TC accesses.
ths [Fri, 27 Jun 2008 10:02:35 +0000 (10:02 +0000)]
More efficient target register / TC accesses.

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

16 years agoFix bogus format, reading uninitialised memory (original patch by Julian Seward)
blueswir1 [Thu, 26 Jun 2008 18:43:24 +0000 (18:43 +0000)]
Fix bogus format, reading uninitialised memory (original patch by Julian Seward)

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

16 years agoChange the way audio is configured
malc [Wed, 25 Jun 2008 21:04:05 +0000 (21:04 +0000)]
Change the way audio is configured

Instead of having separate option for each card and driver use
--audio-drv-list and --audio-card-list options.

Under Linux it allows to set the default(first probed) driver
to something other than OSS.

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

16 years agoSuppress OpenBSD warning messages for leftover fifo bytes
blueswir1 [Wed, 25 Jun 2008 19:59:53 +0000 (19:59 +0000)]
Suppress OpenBSD warning messages for leftover fifo bytes

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

16 years agoReset correct channel aka NetBSD boot fix
blueswir1 [Wed, 25 Jun 2008 18:31:21 +0000 (18:31 +0000)]
Reset correct channel aka NetBSD boot fix

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

16 years agoClarify some TODO items.
ths [Tue, 24 Jun 2008 22:04:41 +0000 (22:04 +0000)]
Clarify some TODO items.

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

16 years agoRemove remaining uses of T0 in the MIPS target.
ths [Tue, 24 Jun 2008 21:58:35 +0000 (21:58 +0000)]
Remove remaining uses of T0 in the MIPS target.

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

16 years agoT1 is now dead.
ths [Tue, 24 Jun 2008 20:13:20 +0000 (20:13 +0000)]
T1 is now dead.

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

16 years agoReduce use of fixed registers a bit more.
ths [Tue, 24 Jun 2008 20:12:33 +0000 (20:12 +0000)]
Reduce use of fixed registers a bit more.

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

16 years agoFix Sparc mmu bug seen with NetBSD, based on patch by Cliff Wright
blueswir1 [Tue, 24 Jun 2008 19:08:28 +0000 (19:08 +0000)]
Fix Sparc mmu bug seen with NetBSD, based on patch by Cliff Wright

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

16 years agoUse temporaries instead of fixed registers for some instructions.
ths [Tue, 24 Jun 2008 15:12:27 +0000 (15:12 +0000)]
Use temporaries instead of fixed registers for some instructions.

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

16 years agoMake mixer emulation a configure option (Jan Kiszka)
malc [Mon, 23 Jun 2008 18:33:30 +0000 (18:33 +0000)]
Make mixer emulation a configure option (Jan Kiszka)

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

16 years agoFix some compiler signed/unsigned char warnings
blueswir1 [Mon, 23 Jun 2008 17:52:43 +0000 (17:52 +0000)]
Fix some compiler signed/unsigned char warnings

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

16 years agoFix compiler warning (Jan Kiszka)
blueswir1 [Mon, 23 Jun 2008 16:58:04 +0000 (16:58 +0000)]
Fix compiler warning (Jan Kiszka)

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

16 years agoPass T0/T1 explicitly to helper functions, and clean up a few dyngen
ths [Mon, 23 Jun 2008 12:57:09 +0000 (12:57 +0000)]
Pass T0/T1 explicitly to helper functions, and clean up a few dyngen
leftovers.

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

16 years agoAccording to gcc-4.3.0/gcc/config/rs6000/crtsavres.asm R13 is volatile
malc [Mon, 23 Jun 2008 05:47:06 +0000 (05:47 +0000)]
According to gcc-4.3.0/gcc/config/rs6000/crtsavres.asm R13 is volatile

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

16 years agoShuffle contents of tcg_target_reg_alloc_order
malc [Mon, 23 Jun 2008 05:47:03 +0000 (05:47 +0000)]
Shuffle contents of tcg_target_reg_alloc_order

Move reserved/volatile registers down. Currently qemu_ld/stXX are
marked with TCG_OPF_CALL_CLOBBER and since memory accesses are
frequent and R3 through R12 are volatile moving this down results in
less spills and tighter generated code.

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

16 years agoAdd missing [SU]32
malc [Sun, 22 Jun 2008 14:10:45 +0000 (14:10 +0000)]
Add missing [SU]32

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

16 years agoEliminate cpu_T[0]
blueswir1 [Sun, 22 Jun 2008 10:58:57 +0000 (10:58 +0000)]
Eliminate cpu_T[0]

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

16 years agoEliminate cpu_T[1]
blueswir1 [Sun, 22 Jun 2008 08:52:58 +0000 (08:52 +0000)]
Eliminate cpu_T[1]

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

16 years agoAdd missing keys, sendkey support for all keys
blueswir1 [Sun, 22 Jun 2008 07:45:42 +0000 (07:45 +0000)]
Add missing keys, sendkey support for all keys

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

16 years agoEmit warning message if user supplied buffer/period size/time was rejected
malc [Sat, 21 Jun 2008 20:09:32 +0000 (20:09 +0000)]
Emit warning message if user supplied buffer/period size/time was rejected

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

16 years agoConvert some cpu_dst uses (with loads/stores) to cpu_tmp0
blueswir1 [Sat, 21 Jun 2008 19:50:10 +0000 (19:50 +0000)]
Convert some cpu_dst uses (with loads/stores) to cpu_tmp0

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

16 years agoAvoid brcond problems, use temps for cpu_src1 & cpu_src2
blueswir1 [Sat, 21 Jun 2008 19:46:48 +0000 (19:46 +0000)]
Avoid brcond problems, use temps for cpu_src1 & cpu_src2

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

16 years agoDo not save dynamic field
malc [Sat, 21 Jun 2008 17:51:50 +0000 (17:51 +0000)]
Do not save dynamic field

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

16 years agoDisable xLaw debugging
malc [Sat, 21 Jun 2008 17:15:00 +0000 (17:15 +0000)]
Disable xLaw debugging

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

16 years agoRework period/buffer size setting
malc [Sat, 21 Jun 2008 17:14:57 +0000 (17:14 +0000)]
Rework period/buffer size setting

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

16 years agoAdd VM save/load support
malc [Sat, 21 Jun 2008 17:14:54 +0000 (17:14 +0000)]
Add VM save/load support

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

16 years agoAdd calls to pci_device_save/load
malc [Sat, 21 Jun 2008 17:14:50 +0000 (17:14 +0000)]
Add calls to pci_device_save/load

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

16 years agoUpdate TODO
blueswir1 [Fri, 20 Jun 2008 17:42:20 +0000 (17:42 +0000)]
Update TODO

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

16 years agoAdd support for boot_set command
blueswir1 [Fri, 20 Jun 2008 16:25:56 +0000 (16:25 +0000)]
Add support for boot_set command

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

16 years agoAdd an opaque parameter to boot_set API, move function to monitor.c
blueswir1 [Fri, 20 Jun 2008 16:25:06 +0000 (16:25 +0000)]
Add an opaque parameter to boot_set API, move function to monitor.c

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

16 years agoDelete obsolete file.
ths [Fri, 20 Jun 2008 15:29:38 +0000 (15:29 +0000)]
Delete obsolete file.

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

16 years agoDelete obsolete file.
ths [Fri, 20 Jun 2008 15:21:28 +0000 (15:21 +0000)]
Delete obsolete file.

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

16 years agoDelete obsolete prototypes.
ths [Fri, 20 Jun 2008 15:20:35 +0000 (15:20 +0000)]
Delete obsolete prototypes.

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

16 years agoConvert unaligned load/store to TCG.
ths [Fri, 20 Jun 2008 15:12:14 +0000 (15:12 +0000)]
Convert unaligned load/store to TCG.

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

16 years agoFix boot problem on i386 host introduced in r4690
blueswir1 [Fri, 20 Jun 2008 15:06:42 +0000 (15:06 +0000)]
Fix boot problem on i386 host introduced in r4690

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

16 years agoadded model_id and vendor cpu model options (initial patch by Dan Kenigsberg) - vario...
bellard [Fri, 20 Jun 2008 14:50:55 +0000 (14:50 +0000)]
added model_id and vendor cpu model options (initial patch by Dan Kenigsberg) - various cleanup

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

16 years agoConvert vr54xx multiply instructions to TCG.
ths [Fri, 20 Jun 2008 14:35:19 +0000 (14:35 +0000)]
Convert vr54xx multiply instructions to TCG.

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

16 years agocmpxchg fixes
bellard [Fri, 20 Jun 2008 14:18:35 +0000 (14:18 +0000)]
cmpxchg fixes

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

16 years agoRemove now-dead code.
ths [Thu, 19 Jun 2008 18:38:40 +0000 (18:38 +0000)]
Remove now-dead code.

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

16 years agoConvert remaining MIPS FP instructions to TCG.
ths [Thu, 19 Jun 2008 18:35:02 +0000 (18:35 +0000)]
Convert remaining MIPS FP instructions to TCG.

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

16 years agoFix buffer overruns (reported by Julian Seward)
blueswir1 [Thu, 19 Jun 2008 17:38:15 +0000 (17:38 +0000)]
Fix buffer overruns (reported by Julian Seward)

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

16 years agoAlso fix 24 bit depth
blueswir1 [Thu, 19 Jun 2008 16:07:48 +0000 (16:07 +0000)]
Also fix 24 bit depth

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

16 years agoFix crash when returning from monitor or serial console to normal TCX view
blueswir1 [Thu, 19 Jun 2008 15:56:22 +0000 (15:56 +0000)]
Fix crash when returning from monitor or serial console to normal TCX view

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

16 years agoMake save function optional
aurel32 [Wed, 18 Jun 2008 22:10:21 +0000 (22:10 +0000)]
Make save function optional

(Ian Jackson)

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

16 years agoPPC: fix mtfsfi
aurel32 [Wed, 18 Jun 2008 22:10:12 +0000 (22:10 +0000)]
PPC: fix mtfsfi

(Tristan Gingold)

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

16 years agoAdd image format option in monitor for removable media
aurel32 [Wed, 18 Jun 2008 22:10:01 +0000 (22:10 +0000)]
Add image format option in monitor for removable media

(Chris Wright)

CVE-2008-1945

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

16 years agoHLT, MWAIT and MONITOR insn fixes (initial patch by Alexander Graf)
bellard [Wed, 18 Jun 2008 09:32:32 +0000 (09:32 +0000)]
HLT, MWAIT and MONITOR insn fixes (initial patch by Alexander Graf)

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

16 years agoSave LR into proper place on callers stack frame
malc [Wed, 18 Jun 2008 01:58:52 +0000 (01:58 +0000)]
Save LR into proper place on callers stack frame

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

16 years agoAvoid temporary variable use across basic blocks for udivx
blueswir1 [Sun, 15 Jun 2008 18:06:39 +0000 (18:06 +0000)]
Avoid temporary variable use across basic blocks for udivx

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

16 years agoFix Sparc32plus & Sparc64 debug output
blueswir1 [Sun, 15 Jun 2008 18:02:48 +0000 (18:02 +0000)]
Fix Sparc32plus & Sparc64 debug output

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

16 years agoFix vm state save/load
malc [Fri, 13 Jun 2008 18:16:59 +0000 (18:16 +0000)]
Fix vm state save/load

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

16 years agoISA version of CS4231A
malc [Fri, 13 Jun 2008 10:48:22 +0000 (10:48 +0000)]
ISA version of CS4231A

Hopefully someday will be merged with cs4231.c (SPARC version)

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

16 years agoSwitch the standard multiplication instructions to TCG.
ths [Thu, 12 Jun 2008 12:43:29 +0000 (12:43 +0000)]
Switch the standard multiplication instructions to TCG.

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

16 years agoSwitch bitfield instructions and assorted special ops to TCG.
ths [Thu, 12 Jun 2008 12:42:35 +0000 (12:42 +0000)]
Switch bitfield instructions and assorted special ops to TCG.

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

16 years agoReimplement brcond2 and refactor brcond
malc [Thu, 12 Jun 2008 12:33:10 +0000 (12:33 +0000)]
Reimplement brcond2 and refactor brcond

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