Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Updates to domain's XML disappearing

Featured Replies

I'm trying to pass through my hosts's serial port to a Win7 domain.

 

Using this as a guide https://libvirt.org/formatdomain.html#elementCharSerial

 

I use the GUI to edit the xml, and change the serial section as follows:

 

<serial type='pty'>

      <source path='/dev/ttyS0'/>

      <target port='0'/>

</serial>

 

but after I click update, if I go back in the <source... line has been removed.

 

 

The timestamp on the file is updated:

 

root@Tower:/etc/libvirt/qemu# ls -l

total 8

-rw------- 1 root root 2878 May 11 10:00 DLNA.xml

 

Any ideas?

 

 

  • Author

Any one?

Any one?

Not sure. We haven't experimented with that yet.

  • Author

OK, I will just try editing the xml directly under /etc/libvirt/qemu then to see if the changes stick.

  • Author

OK, editing that doesn't help, seems it's a temporary output file.

 

So I tried virsh edit DLNA, put in the changes, but they are still lost.

 

Don't understand, guess some validation is going on and it fails?

  • Author

OK, got it working  :)

 

Did a virsh edit and put:

 

<serial type='dev'>

      <source path='/dev/ttyS0'/>

      <target port='0'/>

    </serial>

 

not the type is 'dev' and not 'pty'

 

Can now see my serial device in windows.

OK, got it working  :)

 

Did a virsh edit and put:

 

<serial type='dev'>

      <source path='/dev/ttyS0'/>

      <target port='0'/>

    </serial>

 

not the type is 'dev' and not 'pty'

 

Can now see my serial device in windows.

No virsh edit should be required then. You should be able to put this in the XML using the webgui based editor.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.