Re: Running qemu guest in background

2020-05-16 Thread Mahmood Naderan
>Use screen for text, xpra for graphical emulated machines - assuming FreeBSD / 
>Linux host of course.




I guess xpra is for remote displaying. No?
I don't want to see the local display on the host. The guest should be accessed 
via anydesk.

Regards,
Mahmood 



Re: Running qemu guest in background

2020-05-16 Thread Mahmood Naderan
>Have you considered using libvirt? It is specifically designed to run 
>VMs as a daemon.
>
>If you want to stick with qemu only, something like a systemd service 
>should do.

Can you give me some hints about libvirt for this purpose?Any guide for that?


Regards,
Mahmood


Re: [Qemu-discuss] undefined reference to `XOpenDisplay'

2019-07-07 Thread Mahmood Naderan
 >What were your configure arguments?
> If you don't care about milkymist at all then you could just
>add --disable-opengl which will definitely cause us to not try to
>build this bit of the code.


I used ./configure only.
Anyway, since I only wants x86-softmmu, I just built that without problem.

Regards,
Mahmood


[Qemu-discuss] undefined reference to `XOpenDisplay'

2019-07-04 Thread Mahmood Naderan
Hi,
On a centos 7 based system, I hit the following error while "make install"
is executed.


  GEN trace/generated-helpers.c
  CC  m68k-softmmu/trace/control-target.o
  CC  m68k-softmmu/gdbstub-xml.o
  CC  m68k-softmmu/trace/generated-helpers.o
  LINKm68k-softmmu/qemu-system-m68k
[root@compute-0-4 qemu-3.1.0]# make install
CHK version_gen.h
  LINKqemu-img
  LINKlm32-softmmu/qemu-system-lm32
hw/lm32/milkymist.o: In function `milkymist_tmu2_create':
/root/qemu-3.1.0/hw/lm32/milkymist-hw.h:114: undefined reference to
`XOpenDisplay'
/root/qemu-3.1.0/hw/lm32/milkymist-hw.h:140: undefined reference to `XFree'
/root/qemu-3.1.0/hw/lm32/milkymist-hw.h:141: undefined reference to
`XCloseDisplay'
/root/qemu-3.1.0/hw/lm32/milkymist-hw.h:130: undefined reference to
`XCloseDisplay'
../hw/display/milkymist-tmu2.o: In function `tmu2_glx_init':
/root/qemu-3.1.0/hw/display/milkymist-tmu2.c:112: undefined reference to
`XOpenDisplay'
/root/qemu-3.1.0/hw/display/milkymist-tmu2.c:123: undefined reference to
`XFree'
collect2: error: ld returned 1 exit status
make[1]: *** [qemu-system-lm32] Error 1
make: *** [subdir-lm32-softmmu] Error 2
[root@compute-0-4 qemu-3.1.0]#



I found this topic
https://stackoverflow.com/questions/2975304/undefined-reference-to-xopendisplay-in-a-qt-project

Should I use it?

Regards,
Mahmood


Re: [Qemu-discuss] Not want to use vnc

2019-06-24 Thread Mahmood Naderan
Anyway... I fixed that with --disable-vnc and --enable-gtk in configure
command.
Not sure if enabling gtk is mandatory though.


Regards,
Mahmood




On Sun, Jun 23, 2019 at 9:59 PM Mahmood Naderan 
wrote:

> Hi,
> In the following command, I haven't specified vnc viewer. but I have to
> use that actually.
> Is there any way to show the screen without vnc?
>
> [najafi@rocks7 ~]$ ssh -Y 10.1.1.130
> najafi@10.1.1.130's password:
> Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.15.0-52-generic x86_64)
> Last login: Sun Jun 23 00:48:41 2019 from 10.1.1.1
> najafi@u1604:~$ qemu-system-x86_64 -m 4000 -smp cores=2 -hda
> win7_64_snap_new.img -boot c -usbdevice tablet -enable-kvm -device
> e1000,netdev=host_files -netdev user,net=
> 10.0.2.0/24,id=host_files,restrict=off
> qemu-system-x86_64: -usbdevice tablet: '-usbdevice' is deprecated, please
> use '-device usb-...' instead
> VNC server running on 127.0.0.1:5900
> ^Cqemu-system-x86_64: terminating on signal 2
>
>
>
>
>
> Regards,
> Mahmood
>
>
>


Re: [Qemu-discuss] kvm_intel is loaded but user can not access that

2019-06-23 Thread Mahmood Naderan
OK. I manually created the group and added

KERNEL=="kvm", GROUP="kvm"

to /etc/udev/rules.d


Regards,
Mahmood




On Fri, Jun 21, 2019 at 7:18 PM Peter Maydell 
wrote:

>
> Well, with those permissions on /dev/kvm only root can use KVM.
> You need to sort them out one way or another...
>
> A quick google suggests maybe the group name has changed to 'libvirt' in
> later
> releases of Ubuntu. You might also get some helpful answers from an
> Ubuntu-specific help forum, if this is indeed an Ubuntu system. (There
> are various ways to fix the permissions, but working with the way that
> the distro intends them to be used will generally have better results
> than working "against the grain".)
>
> thanks
> -- PMM
>


[Qemu-discuss] Not want to use vnc

2019-06-23 Thread Mahmood Naderan
Hi,
In the following command, I haven't specified vnc viewer. but I have to use
that actually.
Is there any way to show the screen without vnc?

[najafi@rocks7 ~]$ ssh -Y 10.1.1.130
najafi@10.1.1.130's password:
Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.15.0-52-generic x86_64)
Last login: Sun Jun 23 00:48:41 2019 from 10.1.1.1
najafi@u1604:~$ qemu-system-x86_64 -m 4000 -smp cores=2 -hda
win7_64_snap_new.img -boot c -usbdevice tablet -enable-kvm -device
e1000,netdev=host_files -netdev user,net=
10.0.2.0/24,id=host_files,restrict=off
qemu-system-x86_64: -usbdevice tablet: '-usbdevice' is deprecated, please
use '-device usb-...' instead
VNC server running on 127.0.0.1:5900
^Cqemu-system-x86_64: terminating on signal 2





Regards,
Mahmood


Re: [Qemu-discuss] Uninstall qemu

2019-06-22 Thread Mahmood Naderan
So, I didn't use custom destination!

Is it ok to find qemu-* files an delete them?


On Sat, Jun 22, 2019, 20:16 Peter Maydell  wrote:

> Yeah, we don't have a "make uninstall". Assuming you installed
> it into a suitably isolated destination directory, you can just
> remove that directory. Mostly we expect that people will use
> their distro's package of QEMU, or will use some other means
> for managing locally installed software.
>
> thanks
> -- PMM
>


Re: [Qemu-discuss] kvm_intel is loaded but user can not access that

2019-06-21 Thread Mahmood Naderan
>Does your user have the right permissions for the /dev/kvm device?
>(For ubuntu this usually means the user should be in the 'kvm'
>group.)

There is no such group

mahmood@hpcc-ubuntu:~$ sudo grep kvm /etc/group
mahmood@hpcc-ubuntu:~$
mahmood@hpcc-ubuntu:~$ sudo ls -l /dev/kvm
crw-rw+ 1 root root 10, 232 ژوئن  20 12:13 /dev/kvm


Regards,
Mahmood


[Qemu-discuss] kvm_intel is loaded but user can not access that

2019-06-21 Thread Mahmood Naderan
Hi,
Although I have installed qemu from source and the kvm module has been
modprobed successfully, the user is not able to use -enbale-kvm option


mahmood@hpcc-ubuntu:~$ sudo lsmod | grep kvm
[sudo] password for mahmood:
kvm_intel 217088  0
kvm   598016  1 kvm_intel
irqbypass  16384  1 kvm
mahmood@hpcc-ubuntu:~$ sudo modprobe kvm_intel
mahmood@hpcc-ubuntu:~$



nj@hpcc-ubuntu:~$ qemu-system-x86_64 -m 4000 -smp cores=2 -hda
win7_64_snap_new.img -boot c -usbdevice tablet -enable-kvm
qemu-system-x86_64: -usbdevice tablet: '-usbdevice' is deprecated, please
use '-device usb-...' instead
Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize KVM: Permission denied



Anything has been missed?


Regards,
Mahmood


[Qemu-discuss] Memory limit of a windows guest

2019-01-04 Thread Mahmood Naderan
Hi
Is there any limitation for the guest memory? I have defined "-m 4" for a 
windows guest while the host have 64GB of memory. However, in the windows, I 
see only 16GB of physical memory.
Any thought?

Regards,
Mahmood


[Qemu-discuss] Sharing more than one folder via samba

2018-12-24 Thread Mahmood Naderan
Hi,
How can I share two folders with a host (linux) and a guest (windows)? The 
following option seems to be incorrect
-netdev 
user,net=10.0.2.0/24,id=host_files,restrict=off,smb=/home/mahmood,smbserver=10.0.2.4,smb=/etc,smbserver=10.0.2.5

Any idea?


Regards,
Mahmood


Re: [Qemu-discuss] Specify number of cores for the guest

2018-12-02 Thread Mahmood Naderan
>That's because Qemu by default presents each CPU with it's own Socket
>and Non-Server Windows (because of Licensing Reasons) supports only one
>Socket. You should set it like: -smp cpus=1,cores=5
>See https://qemu.weilnetz.de/doc/qemu-doc.html#index-_002dsmp




Even with "-smp cpus=1,cores=8" I get this error

cpu topology: sockets (1) * cores (8) * threads (1) > maxcpus (1)


Odd... Isn't it?

Regards,
Mahmood


Re: [Qemu-discuss] [Qemu-devel] Accessing a shared folder

2017-08-31 Thread Mahmood
OK. So, it seems that 9p is not enabled in Centos 7 kernel. However, Ubuntu 
16.04 enables it. I verified that with 

   cat /boot/config* | grep -i 9p

Thank you very much.


Regards,
Mahmood




Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood
OK. I reconfigured 2.9.0 with --enable-virtfs. Please note:
1- If I use -virtfs option, I get 
 qemu-option.c:547: opt_set: Assertion `opt->str' failed

2- If I use -fsdev and -device, then I *must* use security_model

3- If I use -fsdev and -device and security_model, then the guest boots 
normally.

I haven't tried to see if I am able to access the shared folder nor not. Do you 
have any note on the above items?


Regards,
Mahmood



Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood
Hello again,I installed 2.5.0 quickly and it was pretty straight forward!

Here is the error message I get regarding the 'virtio-9p-pci'



mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 -hda 
centos7.img -boot c  -usbdevice tablet -enable-kvm -device 
e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files -virtfs 
local,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads
warning: host doesn't support requested feature: 
CPUID.4001H:EAX.kvm_asyncpf [bit 4]
warning: host doesn't support requested feature: 
CPUID.4001H:EAX.kvm_asyncpf [bit 4]
qemu-system-x86_64: -virtfs 
local,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads: 
'virtio-9p-pci' is not a valid device model name
mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 -hda 
centos7.img -boot c  -usbdevice tablet -enable-kvm -device 
e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files -fsdev 
local,id=shared,path=/home/mahmood/Downloads -device 
virtio-9p-pci,fsdev=shared,mount_tag=Downloads
warning: host doesn't support requested feature: 
CPUID.4001H:EAX.kvm_asyncpf [bit 4]
warning: host doesn't support requested feature: 
CPUID.4001H:EAX.kvm_asyncpf [bit 4]
qemu-system-x86_64: -device virtio-9p-pci,fsdev=shared,mount_tag=Downloads: 
'virtio-9p-pci' is not a valid device model name
mahmood@cluster:qemu-vm$ qemu-system-x86_64 -version
QEMU emulator version 2.5.0, Copyright (c) 2003-2008 Fabrice Bellard






I appreciate if you help. Thanks.


Regards,
Mahmood




Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood

The security_model=none also doesn't work and get the same error.

mahmood@cluster:qemu-vm$ qemu-system-x86_64 -version
QEMU emulator version 1.7.0, Copyright (c) 2003-2008 Fabrice Bellard


I know it is old but I think I installed this version three years ago due to 
the Rocks-6 version old libraries (which is based on Centos-6). I will try some 
newer versions to find which version is better.


One more question. How can I uninstall the qemu which is built from source? 
"make uninstall" in the source folder doesn't work.


Sorry for taking up your time.


Regards,
Mahmood




Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood
>Could you please try to replace the -virtfs option with these two options:
>
 >-fsdev local,id=shared,path=/home/mahmood/Downloads \
 >-device virtio-9p-pci,fsdev=shared,mount_tag=Downloads




Still get the same error!

mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 -hda 
centos7server.img -boot c  -usbdevice tablet -enable-kvm -device 
e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files -fsdev 
local,id=shared,path=/home/mahmood/Downloads -device 
virtio-9p-pci,fsdev=shared,mount_tag=Downloads
qemu-system-x86_64: -device virtio-9p-pci,fsdev=shared,mount_tag=Downloads: 
Parameter 'driver' expects device type
mahmood@cluster:qemu-vm$




Regards,
Mahmood



Re: [Qemu-discuss] Accessing a shared folder

2017-08-30 Thread Mahmood
>You don't have to write "fsdriver" here, but replace it with "local",
>"handle" or "proxy".


Still get the same error


mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 -hda 
centos7server.img -boot c  -usbdevice tablet -enable-kvm -device 
e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files -virtfs 
local,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads 
qemu-system-x86_64: -virtfs 
local,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads: Parameter 
'driver' expects device type 

mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 -hda 
centos7server.img -boot c  -usbdevice tablet -enable-kvm -device 
e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files -virtfs 
handle,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads 
qemu-system-x86_64: -virtfs 
handle,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads: Parameter 
'driver' expects device type 


mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 -hda 
centos7server.img -boot c  -usbdevice tablet -enable-kvm -device 
e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files -virtfs 
proxy,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads 
qemu-system-x86_64: -virtfs 
proxy,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads: Parameter 
'driver' expects device type




Regards,
Mahmood



[Qemu-discuss] Accessing a shared folder

2017-08-29 Thread Mahmood
Hi,
Following the manual, I use this command to boot a centos guest and access a 
ashared folder between host and guest

qemu-system-x86_64 -m 2000 -hda cent7.img -boot c -usbdevice tablet -enable-kvm 
-device e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files 
-virtfs fsdriver,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads

However, I get this error

t_tag=Downloads: Parameter 'driver' expects device type

What should I do?


Regards,
Mahmood


Re: [Qemu-discuss] No internet access from centos 7 minimal guest

2017-08-29 Thread Mahmood
Yes you are right. As I ping google.com, I see it finds the IP address but ping 
doesn't work. So, that mean network is fine.


Thank you very much


Regards,
Mahmood



On Tuesday, August 29, 2017, 2:03:12 PM GMT+4:30, Peter Maydell 
<peter.mayd...@linaro.org> wrote:



On 28 August 2017 at 18:28, Thomas Huth <th...@redhat.com> wrote:

> On 28.08.2017 13:56, Mahmood wrote:
>> Hi,I have installed a Centos 7 minimal installation with the following 
>> command
>> qemu-system-x86_64 -m 4000 -smp 2 -hda  centos7ser.img -boot c -usbdevice 
>> tablet -enable-kvm -device e1000,netdev=host_files -netdev 
>> user,net=10.0.2.0/24,id=host_files,restrict=off
>> Inside the guest, I see this network information
>> # ip addr show1: lo: .
>> 2: ens3:<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
>> qlen 1000  link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff  inet 
>> 10.0.2.15/24 brd 10.0.2.255 scope global dynamic ens3      valid_lft 
>> 86147sec preferred_lft 86147sex  inet6 fe80::25fb:513b:9b8b:3cd8/64 scope 
>> link      valid_lft forever preferred_lft forever
>>
>> However, the ping to 8.8.8.8 doesn't work.Did I miss anything in the 
>> configuration?
>
> ICMP (i.e. ping) normally does not work with "-netdev user". You either
> have to use tap networking or you've got to work around this problem
> like it is described here:


...or just don't worry about the fact that ping doesn't work.
TCP and UDP will be fine, and there aren't many situations
where the guest really needs ping.

thanks
-- PMM


Re: [Qemu-discuss] VNC port conflict

2017-01-22 Thread Mahmood Naderan
​Thanks for the suggestions. I will try them.

Regards,
Mahmood


Re: [Qemu-discuss] VNC port conflict

2017-01-22 Thread Mahmood Naderan
>you can run ps -eaf |grep vnc to see whcih all ports being reserved

Isn't there any easier way? Users are not expert, so do not expect to use
ps command and see which vnc port is free...

If I don't use vnc, the qemu will bring up the screen. So, the question is
what is the benefit of using vnc? Bu using vnc, I have to open another
terminal and connect to the guest

Regards,
Mahmood


[Qemu-discuss] VNC port conflict

2017-01-22 Thread Mahmood Naderan
Hi,
Recently, as I run the qemu command to bring up windows guest, it
aborts with a vnc error

$ qemu -m 3000 -cpu Opteron_G5 -hda qemu-vm/win2xpsp3_32_c.img -hdb
qemu-vm/win2xpsp3_32_d.img -boot c  -usbdevice tablet -enable-kvm
-device e1000,netdev=host_files -netdev
user,net=10.0.2.0/24,id=host_files,restrict=off,smb=/home/mahmood,smbserver=10.0.2.4
-vnc :1
qemu: -vnc :1: Failed to start VNC server: Failed to bind socket:
Address already in use

It seems that another user is using his own guest with vnc :1

saremi   31191  5.4  4.7 3624016 3133112 pts/31 Sl+ 12:00  14:10 qemu
-m 3000 -cpu Opteron_G5 -hda qemu-vm/win2xpsp3_32_c.img -hdb
qemu-vm/win2xpsp3_32_d.img -boot c -usbdevice tablet -enable-kvm
-device e1000,netdev=host_files -netdev
user,net=10.0.2.0/24,id=host_files,restrict=off,smb=/home/saremi,smbserver=10.0.2.4
-vnc :1


The same error exists for :2 but :3 is free.
That mean, I have to ask all users which port they are using. Any idea?
-- 
Regards,
Mahmood



Re: [Qemu-discuss] Multiple snapshots with one guest user

2017-01-19 Thread Mahmood Naderan
Thanks.

>Specify size at the end
Is that the same as the size of the /opt/qemuvm/win2xpsp3_32_c.img
?



May i ask what is the difference between the following commands

1) qemu-img create -o backing_file base.img new.img 10G
2) qemu-img create -f qcow2 -b base.img new.img

Regards,
Mahmood


Re: [Qemu-discuss] Multiple snapshots with one guest user

2017-01-19 Thread Mahmood Naderan
>Then you create 1 file for each host user based on the same base file:

>qemu-img create -o backing_file win.qcow2 win_for_user_1.qcow2


Hi,

Any idea about the following error

$ qemu-img create -o backing_file /opt/qemuvm/win2xpsp3_32_c.img
/export/home/mahmood/qemu-vm/win2xpsp3_32_c.img
qemu-img: Invalid image size specified! You may use k, M, G, T, P or E
suffixes for
qemu-img: kilobytes, megabytes, gigabytes, terabytes, petabytes and
exabytes.


Regards,
Mahmood


[Qemu-discuss] Network driver problem with the guest

2017-01-16 Thread Mahmood Naderan
Hi,
A windows xp (x64) shows the network connection with the following command

-devive e1000,netdev=host_files -netdev user,net=
10.0.2.0/24,id=host_files,restrict=off,smb=/home/mahmood,smbserver=10.0.2.4

However, with the same command, a windows xp (32bit) doesn't detect the
driver and the driver shows a question mark in front of network adapter.

Any way to fix that?
​
Regards,
Mahmood


[Qemu-discuss] Guest screen resolution problem

2017-01-15 Thread Mahmood Naderan
Hi,
I use the following command to run a windows guest.

qemu -m 6000 -cpu Opteron_G5 -smp 4 -hda winxp64_c.img -hdb winxp64_d.img
--boot c -usbdevice tablet -enable-kvm -device e1000,netdev=host_files
-netdev user,net=
10.0.2.0/24,id=host_files,restrict=off,smb=/home/mahmood,smbserver=10.0.2.4
-vnc :1

In another terminal, I then ran "vncveiwer :1" to connect to the guest.
Unfortunately, the screen size if 640x480 I think which is very small. I
tried

vncviewer FullScreen :1
vncviewer geometry 1000x1000 :1

But the size is still small.
Any idea about that?


Regards,
Mahmood


Re: [Qemu-discuss] failed to start qemu after system restart

2016-04-08 Thread Mahmood Naderan
OK I will try. Thank you very much. Regards,
Mahmood

Re: [Qemu-discuss] failed to start qemu after system restart

2016-04-07 Thread Mahmood Naderan
>Have you added "-enable-kvm" to your qemu scripts recently?
I always used "qemu -cdrom  -enable-kvm -vnc :10 ." in my commands.
What do you mean by qemu scripts?
 Regards,
Mahmood



  

[Qemu-discuss] Problem with sharing a folder between guest and host

2016-03-29 Thread Mahmood Naderan
Hi,I have read that it is possible to use SAMBA to share a folder between a 
Linux host and a Windows guest., The command I use is

qemu -m 2048 -hda winx64.img -boot d -usbdevice tablet -enable-kvm -vnc :10 
-net user,smb=/home/mahmood -net nic,model=virtio


Here are the problems:
1) What IP address should I enter in the Map network Drive? (I mean 
\\??.??.??.??\mahmood)
2) There is no internet connection within the guest with that command.
3) I can not access the shared folder.
Am I doing something wrong? Regards,
Mahmood

Re: [Qemu-discuss] Internet connection from a windows guest

2016-03-29 Thread Mahmood Naderan
OK. Thank you very much. That solves my problem, but there is a new problem 
which I will ask in another post Regards,
Mahmood 

On Monday, March 28, 2016 1:22 PM, Narcis Garcia <informat...@actiu.net> 
wrote:
 

 Instead of: -devi ce e1000
I use: rtl8139


  

[Qemu-discuss] How to uninstall qemu?

2013-11-20 Thread Mahmood Naderan
Hi
There is no uninstall target in Makefile. So how can I remove that?

# /usr/local/bin/qemu-x86_64  -version
qemu-x86_64 version 1.6.90, Copyright (c) 2003-2008 Fabrice Bellard


 
Regards,
Mahmood

[Qemu-discuss] On Qemu Networking

2013-11-19 Thread Mahmood Naderan
Hi
I have followed the networking manual from these manuals

http://wiki.qemu.org/Documentation/Networking 


https://wiki.archlinux.org/index.php/QEMU#Networking

However I have been confused and did not find a clear answer for this question 
How can I connect to internet from the guest machine?



Regards,
Mahmood

[Qemu-discuss] two questions regarding the guest window

2013-11-18 Thread Mahmood Naderan
Hi,
I have two questions regarding the guest window

1- The position of mouse inside the guest operating system is not synced with 
the host os. I mean when I the actual position of the mouse in the host os is 
on the top right, I see that the mouse position inside the guest os is in the 
middle of the screen. Searching the web, I didn't find a clear answer.

2- When I resize the guest window, it remains at 640*480.

The guest is windows xp and the host is Scientific Linux 6.3

 
Regards,
Mahmood

Re: [Qemu-discuss] PCI bus not available

2013-11-17 Thread Mahmood Naderan


Here are some information regarding the host system


$ uname -a
Linux tiger 2.6.32-279.5.1.el6.x86_64 #1 SMP Tue Aug 14 16:11:42 CDT 2012 
x86_64 x86_64 x86_64
 GNU/Linux


$ lsb_release -a
LSB Version:    
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: Scientific
Description:    Scientific Linux release 6.3 (Carbon)
Release:   
 6.3
Codename:   Carbon



The guest machine have these information according to AQemu

Emulator Type: QEMU
Computer Type: ARM
Boot Priority: FDA/CDROM/HDD
Number of CPU: 1
Video Card: Default
Memory Size: 256
Use Sound: Yes
Fullscreen Mode: No
Use Snapshot Mode: No
Use Local Time: No


The arguments are



/usr/local/bin/qemu-system-arm -monitor stdio -soundhw es1370,ac97 -m 256 -S 
-cdrom 
/home/mahmood/Downloads/Microsoft.Windows.XP.Professional.SP3/Windows.XP.Professional.SP3.iso
 -hda /home/mahmood/winxp -boot order=adc,menu=on -net none -name 
Windows XP -vnc :10


Any idea on that?
 
Regards,
Mahmood



On Sunday, November 17, 2013 11:35 AM, Mahmood Naderan nt_mahm...@yahoo.com 
wrote:
 
Here are some information regarding the host system


$ uname -a
Linux tiger 2.6.32-279.5.1.el6.x86_64 #1 SMP Tue Aug 14 16:11:42 CDT 2012 
x86_64 x86_64 x86_64
 GNU/Linux


$ lsb_release -a
LSB Version:    
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: Scientific
Description:    Scientific Linux release 6.3 (Carbon)
Release:   
 6.3
Codename:   Carbon




The guest machine have these information according to AQemu

Emulator Type: QEMU
Computer Type: ARM
Boot Priority: FDA/CDROM/HDD
Number of CPU: 1
Video Card: Default
Memory Size: 256
Use Sound: Yes
Fullscreen Mode: No
Use Snapshot Mode: No
Use Local Time: No


The arguments are


 
/usr/local/bin/qemu-system-arm -monitor stdio -soundhw es1370,ac97 -m 256 -S 
-cdrom 
/home/mahmood/Downloads/Microsoft.Windows.XP.Professional.SP3/Windows.XP.Professional.SP3.iso
 -hda /home/mahmood/winxp -boot order=adc,menu=on -net none -name Windows XP 
-vnc :10



Any idea on that?








 
Regards,
Mahmood



On Saturday, November 16, 2013 10:09 PM, Programmingkid 
programmingk...@gmail.com wrote:



What target are you using? (qemu-system-ppc, qemu-system-i386, ...)

What is your computer's operating system? 

Please send the complete command line arguments you used.

[Qemu-discuss] PCI bus not available

2013-11-16 Thread Mahmood Naderan
Hello
I have installed Qemu form git source and AQemu for the gui part.
When I start a virtual machine, I get this error

PCI bus not available for es1370.

I can not find any option regarding that. How can I fix that?





Regards,
Mahmood