Jump to content

SpaceInvaderOne

Community Developer
  • Posts

    1,747
  • Joined

  • Days Won

    30

Posts posted by SpaceInvaderOne

  1. yeah yeah i know everyone is running windows 10 but i want to run some really old systems for..... well no reason at all really !!

     

    Anyway i had a 98 vm in vmware which i converted to a kvm image. However when I run it, it will only start if I run it in step by step confirmation (see screenshot)

     

    When i run it in vmware it starts normally without having to do this. But as kvm it will only start this way. Anyone know why this happens and how to make it boot without this step?

     

    Also would love to get network drivers working and vga drivers

     

    my xml file is as follows

    <domain type='kvm'>

      <name>win98</name>

      <uuid>eab7c873-11b4-5a63-a5bd-acad96594c1a</uuid>

      <metadata>

        <vmtemplate name="Custom" icon="windows98.png" os="windowsxp"/>

      </metadata>

      <memory unit='KiB'>524288</memory>

      <currentMemory unit='KiB'>524288</currentMemory>

      <memoryBacking>

        <nosharepages/>

        <locked/>

      </memoryBacking>

      <vcpu placement='static'>1</vcpu>

      <cputune>

        <vcpupin vcpu='0' cpuset='0'/>

      </cputune>

      <os>

        <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>

      </os>

      <features>

        <acpi/>

        <apic/>

        <hyperv>

          <relaxed state='on'/>

          <vapic state='on'/>

          <spinlocks state='on' retries='8191'/>

        </hyperv>

      </features>

      <cpu mode='host-passthrough'>

        <topology sockets='1' cores='1' threads='1'/>

      </cpu>

      <clock offset='localtime'>

        <timer name='hypervclock' present='yes'/>

        <timer name='hpet' present='no'/>

      </clock>

      <on_poweroff>destroy</on_poweroff>

      <on_reboot>restart</on_reboot>

      <on_crash>restart</on_crash>

      <devices>

        <emulator>/usr/bin/qemu-system-x86_64</emulator>

        <disk type='file' device='disk'>

          <driver name='qemu' type='raw' cache='writeback'/>

          <source file='/mnt/user/Software/vms old operating systems/win98/win98.img'/>

          <target dev='hda' bus='ide'/>

          <boot order='1'/>

          <address type='drive' controller='0' bus='0' target='0' unit='0'/>

        </disk>

        <disk type='file' device='cdrom'>

          <driver name='qemu' type='raw'/>

          <source file='/mnt/user/Software/Windows software/operating systems/unraid virtual io/virtio-win-0.1.102.iso'/>

          <target dev='hdb' bus='ide'/>

          <readonly/>

          <address type='drive' controller='0' bus='0' target='0' unit='1'/>

        </disk>

        <controller type='usb' index='0'>

          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>

        </controller>

        <controller type='pci' index='0' model='pci-root'/>

        <controller type='ide' index='0'>

          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>

        </controller>

        <controller type='virtio-serial' index='0'>

          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>

        </controller>

        <interface type='bridge'>

          <mac address='52:54:00:71:77:c7'/>

          <source bridge='ed'/>

          <model type='virtio'/>

          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>

        </interface>

        <serial type='pty'>

          <target port='0'/>

        </serial>

        <console type='pty'>

          <target type='serial' port='0'/>

        </console>

        <channel type='unix'>

          <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/win98.org.qemu.guest_agent.0'/>

          <target type='virtio' name='org.qemu.guest_agent.0'/>

          <address type='virtio-serial' controller='0' bus='0' port='1'/>

        </channel>

        <input type='tablet' bus='usb'/>

        <input type='mouse' bus='ps2'/>

        <input type='keyboard' bus='ps2'/>

        <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>

          <listen type='address' address='0.0.0.0'/>

        </graphics>

        <video>

          <model type='cirrus' vram='16384' heads='1'/>

          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>

        </video>

        <memballoon model='virtio'>

          <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>

        </memballoon>

      </devices>

    </domain>

    98.png.17751dcbe72583c0391f7bf51ba09f85.png

  2. I wanted to passthough a gpu on a laptop once (not using unraid) when using linux to a vm. But i had probs because although it had 2 gpus, being optimus all display is passed through the gpu built into the cpu. so never got it working. Also i heard you cant use the screen on laptop for gpu passthough you have to use a separate monitor out.

    Maybe someone else knows more. I always wanted to run a vm with passthrough on a laptop aswell

  3. yes. And after you have installed the perl and detected which driver for the sensors for your motherboad, you can delete the perl package from unraid as it is only needed to detect which driver is used not to run the sys temp plugin etc.

  4. You have 2 cores on your cpu. No hyperthreading.

     

    So you have 1 assigned to one vm and 2 assigned to the other.

    What this means is one virtual machine will use only one core whilst the other can use both.

    When both machines are running they will share one of the cores, whilst the virtual machine with the two cores will share one core with the other vm and have one to itself.

    Unraid will always have access to your cores so you dont have to worry about that.

    Think about it like running programmes on a computer. each vm is a programme and unraid is the os.

    I hope this makes sense.

     

    • Like 1
×
×
  • Create New...